Codwiz51's Wiki

RSS

Navigation







Quick Search
»
Advanced Search »

Example WTL Application

RSS
Modified on 2009/05/25 15:06 by codewiz51 Categorized as VS 2008, WTL
While working on an installation project some weeks past, I came across Vinnichenko Alexey's article Copy, Move and Delete files and directories without using SHFileOperation, which was of some use when copying large numbers of files. Using the Shell API adds a lot of unnecessary overhead with all of the visual feedback it provides.

I didn't use the FileOperation class in my project, but I did end up cleaning it up and making a WTL demonstration project. The project took on a life of its own, dealing with a number of common user interface issues such as simple menus, font and color of edit controls, tool tips, hyperlinks and icons. I'll continue to edit this article as time permits, as it answers a lot of newbie WTL questions.

Here's a couple of screen shots:

Illustration of Edit control manipulation

Example of hiding a menu

Click here to download: WTLFopDemo.7z The program is written for Visual Studio 2008 and WTL 8.0.

ScrewTurn Wiki version 3.0.2.509. Some of the icons created by FamFamFam.