一无所知

世界如此之大,世界又如此之小!我什么都不知,只知我一无所知!

首页 CNDEV 网志 联络 (RSS 2.0) (Atom) 登录
  随笔 25 :: 收藏 0 :: 评论 0 :: 寻迹: 1

News

本站主要是技术类的文章和新闻
本站内容按创作共用方式授权
如果侵犯了您的权利,请告之!

随笔

随笔归档

图库

编程手册

常用链接

网络工具

我的链接

在线翻译

2005-04-27 #

    在皮肤界面中,最难的恐怕就是自画窗口标题了,网上虽然有各种各样的解决方法,但是都不是很完美,而商业皮肤界面程序包是需要花钱买的。

其中最主要的问题有:

1、在标题栏或边框移动鼠标时系统会画窗口标题

2、没有任务栏图标。当取消了 SYS_CAPTION Style 后系统不会画窗口标题了,但是同时该窗口也没有任务栏图标。

3、最大化后在标题栏按下鼠标时系统会画窗口标题

4、按下系统按钮再移动鼠标到按钮外后没有正确的重画按钮

    没办法,只有自己摸索了,研究了网络上的一些代码片段和几个比较成功的皮肤界面程序比如 RealPlay, Microsoft Money ,发现它们采用的手法都不尽相同,而网上关于这个问题也没有很完美的解决方案,总是有点小瑕疵。最后,去研究了一下 Windows 2000 的核心代码中关于窗口管理部分,终于算是比较满意的解决了上面的这些问题,但是,我采用的方法和RealPlay, Microsoft Money 都不太一样,RealPlay 好象没有了 NC_* 的消息,而Microsoft Money 则是采用遮盖的方法,而我是采用直接重画的方法,关键是找到重画的关键点。

关键代码:

  1    BEGIN_MSG_MAP(TCaptionBaseT)
  2        MESSAGE_HANDLER(WM_NCHITTEST,            OnNCHitTest)
  3        MESSAGE_HANDLER(WM_NCPAINT,                OnNCPaint)
  4
  5        MESSAGE_HANDLER(WM_NCLBUTTONDOWN,        OnNCLButtonDown)
  6        MESSAGE_HANDLER(WM_NCLBUTTONUP,            OnNCLButtonUp)
  7        MESSAGE_HANDLER(WM_NCMOUSEMOVE,            OnNCMouseMove)
  8        MESSAGE_HANDLER(WM_LBUTTONUP,            OnLButtonUp)
  9
10        MESSAGE_HANDLER(WM_NCACTIVATE,            OnNCActivate)
11
12        MESSAGE_HANDLER(WM_SYSCOMMAND,            OnSysCommand)
13        MESSAGE_HANDLER(WM_INITMENU,            OnInitMenu)
14
15        MESSAGE_HANDLER(WM_SIZE,                OnSizeChanged)
16        MESSAGE_HANDLER(WM_STYLECHANGED ,        OnStyleChanged)
17 MESSAGE_HANDLER(WM_SETTINGCHANGE, OnSettingsChange) 18        MESSAGE_HANDLER(WM_SETTEXT,                OnSetText)
19        MESSAGE_HANDLER(WM_SETICON ,            OnSetIcon)
20
21        MESSAGE_HANDLER(WM_CREATE,                OnCreate)
22        MESSAGE_HANDLER(WM_INITDIALOG,            OnInitDialog)
23    END_MSG_MAP()
24
25    LRESULT OnNCLButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
26    {
27        // wParam 由 OnNcHitTest 返回
28        T* pT = static_cast<T*>(this);
29       
30        POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };
31        mn_ButtonPress = HTNOWHERE;
32
33        switch( wParam )
34        {
35        case HTMINBUTTON:
36        case HTMAXBUTTON:
37        case HTCLOSE:
38        case HTHELP:
39            mn_ButtonPress  = wParam;
40            mb_OnPressed    = TRUE;
41            bHandled        = TRUE;        // 表示已经处理过了,否则系统会重画按钮且 WM_NC_LBUTTONUP 不会被触发。
42            pT->doReDrawCaption();
43            break;
44        case HTCAPTION:
45            bHandled = FALSE;    // 继续让系统进行缺省处理
46            {
47                DWORD nStyle = pT->GetStyle();
48                if(nStyle & WS_MINIMIZE)
49                {
50                    return 0; // BUG: Prevents move of iconic window, but fixes Windows freeze
51                }

52                else
53                if(nStyle & WS_MAXIMIZE)
54                {
55                    // 在系统最大化的时候需要在鼠标按下时重画标题栏
56                    bHandled = TRUE; // 表示已经处理过了,否则系统会重画按钮。
57                    // 让系统对 HTCAPTION 进行处理
58                    pT->DefWindowProc(uMsg, wParam, lParam);
59                    pT->doReDrawCaption();
60                }

61            }

62            break;
63        default:
64            bHandled = FALSE;    // 继续让系统进行缺省处理
65            break;
66        }

67        return 0;
68    }

69   
70    LRESULT OnNCLButtonUp(UINT /*uMsg*/, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
71    {
72        // wParam 由 OnNcHitTest 返回
73        T* pT = static_cast<T*>(this);
74
75        mb_OnPressed = FALSE;
76
77        if(wParam == mn_ButtonPress)
78        {
79            // 鼠标按下和释放在相同的按钮上
80            POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };
81            switch( wParam )
82            {
83            case HTMINBUTTON:
84                pT->PostMessage(WM_SYSCOMMAND, SC_MINIMIZE, MAKELPARAM(pt.x, pt.y));
85                bHandled = TRUE;    // 禁止系统做缺省处理
86                break;
87            case HTMAXBUTTON:
88                mn_ButtonMove = HTNOWHERE;        // 最大画后鼠标位置将改变
89                if(pT->GetStyle() & WS_MAXIMIZE)
90                    pT->PostMessage(WM_SYSCOMMAND, SC_RESTORE,  MAKELPARAM(pt.x, pt.y));
91                else
92                    pT->PostMessage(WM_SYSCOMMAND, SC_MAXIMIZE, MAKELPARAM(pt.x, pt.y));
93                bHandled = TRUE;    // 禁止系统做缺省处理
94                break;
95            case HTCLOSE:
96                pT->PostMessage(WM_CLOSE);
97                bHandled = TRUE;    // 禁止系统做缺省处理
98                break;
99            case HTHELP:
100                pT->PostMessage(WM_HELP);
101                bHandled = TRUE;    // 禁止系统做缺省处理
102                break;
103            case HTSYSMENU:
104            default:
105                bHandled = FALSE;    // 让系统进行缺省处理
106            }

107        }

108        mn_ButtonPress = HTNOWHERE;
109        return 0;
110    }

111
112    LRESULT OnLButtonUp(UINT /*uMsg*/, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
113    {
114        bHandled = FALSE;
115
116        mb_OnPressed    = FALSE;
117        mn_ButtonPress    = HTNOWHERE;
118
119        return 0;
120    }

发表于 @ 12:23 | 评论与反馈 (0)

2005-04-04 #

  一直以来用 AxIcon Workshop 来处理图标,但是 AxIcon Workshop稍微有点问题就是,不支持重复图标过滤,而且,在处理大量图标的时候很容易没有响应!:(

  为此,我自己写了一个图标处理工具,可以自动抽取 DLL/EXE/ICL 等文件中的图标,并进行重复图标自动过滤,图标扫描等功能,其中比较困难的是对 ICL 文件的处理,ICL 文件本质上是一个 16 Bit 的 DLL 资源文件,但是在 Windows 2000 下好象没有直接操作它的函数,至少我是不知道,查了 Google 也没查到相关资料,没有办法,只有硬来了,查了 16 Bit 的 EXE 的文件结构资料,结合网上可以找到的一些对16 Bit 的 EXE 的读写代码片段,再经过探索和摸索,终于成功的将从 ICL 中分离出 ICON 。其中的关键代码如下:希望给你有帮助

typedef UINT16          HANDLE16;
typedef HANDLE16       *LPHANDLE16;

DECLARE_HANDLE(FARPROC16);

#pragma pack( push )
#pragma pack( 2 )

typedef struct
{
    WORD     offset;
    WORD     length;
    WORD     flags;
    WORD     id;
    HANDLE16 handle;
    WORD     usage;
} NE_NAMEINFO;

typedef struct
{
    WORD        type_id;   /* Type identifier */
    WORD        count;     /* Number of resources of this type */
    FARPROC16   resloader; /* SetResourceHandler() */
    /*
     * Name info array.
     */
} NE_TYPEINFO;

typedef struct
{
    WORD idReserved;  // Reserved (must be 0)
    WORD idType;   // Resource Type (1 for icons)
    WORD idCount;  // How many images?
   
    BYTE bWidth;          // Width, in pixels, of the image
    BYTE bHeight;         // Height, in pixels, of the image
    BYTE bColorCount;     // Number of colors in image (0 if >=8bpp)
    BYTE bReserved;       // Reserved ( must be 0)
    WORD wPlanes;         // Color Planes
    WORD wBitCount;       // Bits per pixel
    DWORD dwBytesInRes;    // How many bytes in this resource?
    DWORD dwImageOffset;   // Where in the file is this image?
} NE_ICONDIRENTRY, *LPNE_ICONDIRENTRY;

// 图标目录
typedef struct
{
 WORD idReserved;   // Reserved (must be 0)
 WORD idType;    // Resource type (1 for icons)
 WORD idCount;   // How many images?
} GRPICONDIR, *LPGRPICONDIR;

// 图标项
typedef struct
{
 BYTE   bWidth;               // Width, in pixels, of the image
 BYTE   bHeight;              // Height, in pixels, of the image
 BYTE   bColorCount;          // Number of colors in image (0 if >=8bpp)
 BYTE   bReserved;            // Reserved
 WORD   wPlanes;              // Color Planes
 WORD   wBitCount;            // Bits per pixel
 DWORD  dwBytesInRes;         // how many bytes in this resource?
 WORD   nID;                  // the ID
} GRPNE_ICONDIRENTRY, *LPGRPNE_ICONDIRENTRY;

#pragma pack( pop )

#define NE_RT_CURSOR         0x8001
#define NE_RT_BITMAP         0x8002
#define NE_RT_ICON           0x8003
#define NE_RT_MENU           0x8004
#define NE_RT_DIALOG         0x8005
#define NE_RT_STRING         0x8006
#define NE_RT_FONTDIR        0x8007
#define NE_RT_FONT           0x8008
#define NE_RT_ACCELERATOR    0x8009
#define NE_RT_RCDATA         0x800a
#define NE_RT_GROUP_CURSOR   0x800c
#define NE_RT_GROUP_ICON     0x800e

// ICL 图标枚举
HRESULT ICL_EnumResourceNames(IN CONST HANDLE hFile, IN UINT nType, IN NE_ENUM_RES_NAME_PROC pFunc, IN LPARAM lParam)
{
 DWORD dwRead = 0;

 // 读区 DOS 文件头
 IMAGE_DOS_HEADER oDOSHeader;
 if(!::ReadFile( hFile, &oDOSHeader, sizeof(IMAGE_DOS_HEADER), &dwRead, NULL ) )
 {
  return ::GetLastError();
 }
 
 // 读区 NE 文件头
 IMAGE_OS2_HEADER oNEHeader;
 ::SetFilePointer(hFile, oDOSHeader.e_lfanew, NULL, FILE_BEGIN);
  if(!::ReadFile( hFile, &oNEHeader, sizeof(IMAGE_OS2_HEADER), &dwRead, NULL ) )
 {
  return ::GetLastError();
 }

  // 读区 RSRC 资源表
 DWORD nPos = oDOSHeader.e_lfanew + oNEHeader.ne_rsrctab;
 ::SetFilePointer(hFile, nPos, NULL, FILE_BEGIN);

 WORD nSizeShift;
  if(!::ReadFile( hFile, &nSizeShift, sizeof(WORD), &dwRead, NULL ) )
 {
  return ::GetLastError();
 }

    NE_TYPEINFO oInfo;
  if(!::ReadFile( hFile, &oInfo, sizeof(NE_TYPEINFO), &dwRead, NULL ) )
 {
  return ::GetLastError();
 }

 // 枚举所有的资源
 DWORD nPosEnd  = oDOSHeader.e_lfanew + oNEHeader.ne_restab;
 DWORD nPosName = nPosEnd + 4;

 NE_NAMEINFO oName;
 UINT nIndex = 0;
 while (oInfo.type_id != 0 && nPos < nPosEnd)
    {
        for (UINT nCount = oInfo.count; nCount > 0; nCount--)
        {
    if(!::ReadFile(hFile, &oName, sizeof(NE_NAMEINFO), &dwRead, NULL))
   {
    return ::GetLastError();
   }
   if(oInfo.type_id == nType)
   {
    // 保存文件位置
    DWORD nPosOld = ::SetFilePointer(hFile, 0, NULL, FILE_CURRENT);
    
    // 资源名
    BYTE nSize;
    ::SetFilePointer(hFile, nPosName, NULL, FILE_BEGIN);
     if(!::ReadFile( hFile, &nSize, sizeof(BYTE), &dwRead, NULL))
    {
     return ::GetLastError();
    }
    if(nSize > 255) return E_FAIL;

    nPosName += sizeof(BYTE) + nSize;

    ACHAR sName[255 + 1];
     if(!::ReadFile( hFile, sName, nSize, &dwRead, NULL))
    {
     return ::GetLastError();
    }
    if(nSize == 1 && sName[0] == __A(
'@')) nSize = 0;
    sName[nSize] = ACHR_NULL;

    // 资源组
    GRPICONDIR oDir;
    DWORD nPosGroup = oName.offset << nSizeShift;
    ::SetFilePointer(hFile, nPosGroup, NULL, FILE_BEGIN);
     if(!::ReadFile( hFile, &oDir, sizeof(GRPICONDIR), &dwRead, NULL))
    {
     return ::GetLastError();
    }

    // 处理
    STK_CONVERSIONU;
    pFunc(hFile, nIndex++, STK_A2T(sName), &oDir, lParam);

    // 恢复文件位置
    ::SetFilePointer(hFile, nPosOld, NULL, FILE_BEGIN);
   }
        }
   if(!::ReadFile( hFile, &oInfo, sizeof(NE_TYPEINFO), &dwRead, NULL))
  {
   return ::GetLastError();
  }
    }
 return S_OK;
}

发表于 @ 14:04 | 评论与反馈 (0)

以前在Window 2000 IIS5.0下写了一个URL检测 + 重定向 + Session + 入侵检测 + 自动解压+ 自动解密的 ISAPI Filter ,用于数字图书馆项目,一直都很好使, 最近升级到 Widnows 2003 IIS6.0 后,发现 ISAPI Filter 根本运行不起来,后来查了又查,原来是文件的权限问题,IIS 6.0 ISAPI Filter 好象是在 Service 帐号下运行的(具体我也没去查过) ,将数据文件的读写权限给予Service 帐号后,ISAPI Filter 终于可以正常运行了,但是,在随后的测试中,我发现,数据解密结果不正确,郁闷啊,查吧............

经过日志跟踪和分析,终于发现问题所在,原来 IIS 6.0 和 IIS 5.0 发送给客户端的时候应答稍微有点不一样,IIS 5.0 是先单独发应一次答头 HttpFilterProc->OnSendData,

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Mon, 04 Apr 2005 05:39:01 GMT
Content-Type: application/octet-stream
Accept-Ranges: bytes
Last-Modified: Mon, 04 Apr 2005 05:39:00 GMT
ETag: W/"90c9399ad838c51:fd1"
Content-Length: 661442

然后分多次发送数据 HttpFilterProc->OnSendData;

 

而 IIS6.0 却是将应答头和数据一起发送的,也就是说IIS 6.0 的第一次HttpFilterProc->OnSendData 中即包含了应答头,也包含了数据,

HTTP/1.1 200 OK
Date: Mon, 04 Apr 2005 05:17:09 GMT
Content-Length: 661442
Content-Type: application/pdf
Last-Modified: Mon, 04 Apr 2005 05:16:41 GMT
Accept-Ranges: bytes
ETag: "4c949b7cd538c51:ef5"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET

%PDutv?在>2fW[[; e?v0F[Z4楽=Z;uJVYCYX(|XES敵蛣?

而原先的程序没有为这种情况设计,经过调整后,ISAPI Filter 已经成功的运行在 IIS 5.0 和 IIS 6.0 下了。

发表于 @ 13:41 | 评论与反馈 (2)

2005-03-03 #

Windows Template Library - WTL Version 7.5         (build 5058) 2/27/05
Development Release

Copyright © 2005 Microsoft Corporation. All rights reserved.
 
This file is a part of the Windows Template Library.
The use and distribution terms for this software are covered by the
Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
which can be found in the file CPL.TXT at the root of this distribution.
By using this software in any fashion, you are agreeing to be bound by
the terms of this license. You must not remove this notice, or
any other, from this software.

 

 

Welcome to the Windows Template Library, version 7.5. This document contains the following topics:

 

  1. Introduction
  2. Features And Installation
  3. Packing List
  4. Class Overview
  5. ATL/WTL AppWizard
  6. Support for Windows CE
  7. Notes
  8. Changes Between WTL 7.5 And 7.1
  9. Changes Between WTL 7.1 And 7.0
  10. Changes Between WTL 7.0 And 3.1
  11. Changes Between WTL 3.1 And 3.0

 

 

1. Introduction

 

Windows Template Library, or WTL, is a set of classes that extend ATL to support more complex user interfaces for either applications or various UI components, while maintaining the big advantage of ATL - small and fast code. WTL classes were designed to be the best and the easiest way to implement rich Win32 based UI for ATL based applications, servers, components, and controls.

 

WTL provides support for implementing many user interface elements, from frame and popup windows, to MDI, standard and common controls, common dialogs, property sheets and pages, GDI objects, UI updating, scrollable windows, splitter windows, command bars, etc. The WTL classes are mostly templated and use minimal instance data and inline functions. They were not designed as a framework, so they do not force a particular application model, and can accommodate any. The classes do not use hooks or thread local storage, so they have no restrictions that those techniques impose. They also have no inter-dependencies and can be freely mixed with straight SDK code. In summary, WTL delivers very small and efficient code, very close in size and speed to SDK programs, while presenting a more logical, object oriented model to a programmer.

 

 

2. Features And Installation

 

This is the fifth public release of WTL, after WTL 3.0, 3.1, 7.0, and 7.1. It is also the first release of WTL under the Common Public License, enabling developers from the WTL community to contribute to the library.

 

WTL classes can be used with either VC++ 6.0 and ATL 3.0, VC++ .NET 2002 and ATL 7.0, VC++ .NET 2003 and ATL 7.1, or EVC++ 4.0 or 3.0 with ATL for Windows CE. AppWizard for VC++ .NET 2002 and 2003 is included.

 

The WTL classes are provided in header files located in the include directory. The only header files that must be included is atlapp.h, while others can be used when needed. The name of the file doesn't mean that you have to create an application, just that atlapp.h contains base definitions required for WTL projects.

 

To install WTL, just copy the whole directory structure, or unpack the archive file, to the location of your choice. Please be sure to add the WTL\include directory to the list of include directories in VC++, so that the compiler can find them when you include them in your projects..

 

Setup programs for the AppWizard are provided. After executing the setup scripts, ATL/WTL AppWizard will appear in the list of AppWizards when you select File.New.Project in VC++ IDE. The file AppWiz\setup70.js is the setup script for VC++ .NET 2002, while AppWiz\setup71.js is for VC++ .NET 2003.

 

To manually install AppWizard for VC++ .NET 2002, copy all WTLAppWiz.* files from AppWiz\Files to VC++ .NET projects directory, %VC7DIR%\Vc7\vcprojects, where %VC7DIR% is the directory where VC++ .NET 2002 is installed. After that, open WTLAppWiz.vsz and modify the like that contains ABSOLUTE_PATH to contain %WTLDIR%\AppWiz\Files, where %WTLDIR% is the directory where WTL files are.

 

For VC++ .NET 2003 use the WTLApp71.* files with the same steps.

 

Platform support and requirements:

 

    Compiler/IDE/ATL:

            Visual C++ 6.0   (ATL 3.0)

            Visual C++.NET 2002   (ATL 7.0)

            Visual C++.NET 2003   (ATL 7.1)

 

    SDK (optional):

            Any Platform SDK from January 2000 release up to the latest (February 2003)

 

    Windows CE development:

            eMbedded Visual C++ 3.0 - Pocket PC, Pocket PC 2002

            eMbedded Visual C++ 4.0 - STANDARDSDK_410, Pocket PC 2003, Smartphone 2003

 

This release also brings the preliminary support for the Visual Studio 2005 (codename Whidbey) Beta1. App Wizards for both Windows applications and SmartDevice projects are provided.

 

 

3. Packing List

 

File Name: Description:

readme.htm this file
CPL.TXT Common Public License
 
include\
    atlapp.h message loop, interfaces, general app stuff
    atlcrack.h message cracker macros
    atlctrls.h standard and common control classes
    atlctrlw.h command bar class
    atlctrlx.h bitmap button, check list view, and other controls
    atlddx.h data exchange for dialogs and windows
    atldlgs.h common dialog classes, property sheet and page classes
    atlframe.h frame window classes, MDI, update UI classes
    atlgdi.h DC classes, GDI object classes
    atlmisc.h WTL ports of CPoint, CRect, CSize, CString, etc.
    atlprint.h printing and print preview
    atlres.h standard resource IDs
    atlresce.h standard resource IDs for Windows CE
    atlscrl.h scrollable windows
    atlsplit.h splitter windows
    atltheme.h Windows XP theme classes
    atluser.h menu class
    atlwinx.h extensions of ATL windowing support
 
Samples\
    Alpha\... Windows XP 32-bit (alpha) toolbar images
    BmpView\... bitmap file view sample
    MTPad\... multithreaded notepad sample
    MDIDocVw\... WTL version of the MDI sample
    GuidGen\... WTL version of the GuidGen sample
    Wizard97Test\... Wizard97 showcase sample
    WTLExplorer\... Explorer-like application sample
 
AppWiz\
    setup70.js AppWizard setup program for VC++ .NET 2002
    setup71.js AppWizard setup program for VC++ .NET 2003
    setup80.js AppWizard setup program for VC++ 2005 Beta1
    Files\... WTL AppWizard for VC++ .NET 2002 and 2003 files
 
AppWizCE\
    setup80.js AppWizard setup program for VC++ 2005 Beta1
    Files\... WTL AppWizard for VC++ 2005 Beta1 files

 

 

4. Class Overview

 

usage:        mi base    -    a base class (multiple inheritance)
  client    -    wrapper class for a handle
  as-is    -    to be used directly
  impl    -    implements a window (has WindowProc) or other support
  helper    -    a helper class
  base    -    implementation base class

 

class name: usage: description:

app/module support
CAppModule as-is app support, CComModule derived
CServerAppModule as-is module for COM servers
CMessageLoop as-is message loop
CMessageFilter mi base message filter interface
CIdleHandler mi base idle time handler interface

frame windows
CFrameWindowImplBase<> base  
CFrameWindowImpl<> impl frame window support
COwnerDraw<> impl mi base owner-draw msg map and handlers
CDialogResize<> impl mi base support for resizing dialogs

MDI windows
CMDIWindow client MDI methods
CMDIFrameWindowImpl<> impl MDI frame window
CMDIChildWindowImpl<> impl MDI child window

update UI
CUpdateUIBase base  
CUpdateUI<> mi base class  provides support for UI update
CDynamicUpdateUI<> mi base class  provides dynamic support for UI update

standard controls
CStatic client static ctrl
CButton client button ctrl
CListBox client list box ctrl
CComboBox client combo box ctrl
CEdit client edit ctrl
CEditCommands mi standard edit command support
CScrollBar client scroll bar ctrl

common controls
CImageList client image list
CListViewCtrl client list view ctrl
CTreeViewCtrl client tree view ctrl
CTreeItem helper  
CTreeViewCtrlEx client uses CTreeItem
CHeaderCtrl client header bar ctrl
CToolBarCtrl client toolbar ctrl
CStatusBarCtrl client status bar ctrl
CTabCtrl client tab ctrl
CToolTipCtrl client tool tip ctrl
CToolInfo helper  
CTrackBarCtrl client trackbar ctrl
CUpDownCtrl client up-down ctrl
CProgressBarCtrl client progress bar ctrl
CHotKeyCtrl client hot key ctrl
CAnimateCtrl client animation ctrl
CRichEditCtrl client rich edit ctrl
CRichEditCommands mi std rich edit commands support
CDragListBox client drag list box
CDragListNotifyImpl<> impl mi class support for notifications
CReBarCtrl client rebar ctrl
CComboBoxEx client extended combo box
CDateTimePickerCtrl client date-time ctrl
CFlatScrollBarImpl mi impl flat scroll bars support
CFlatScrollBar as-is flat scroll bars support
CIPAddressCtrl client IP address ctrl
CMonthCalendarCtrl client month calendar ctrl
CCustomDraw<> impl mi class custom draw handling support

Windows CE controls
CCECommandBarCtrl client command bar ctrl
CCECommandBandsCtrl client command bands ctrl

property sheet & page
CPropertySheetWindow client  
CPropertySheetImpl<> impl property sheet
CPropertySheet as-is  
CPropertyPageWindow client  
CPropertyPageImpl<> impl property page
CPropertyPage as-is  
CAxPropertyPageImpl<> impl property page with ActiveX
CAxPropertyPage as-is  
CWizard97SheetWindow client  
CWizard97SheetImpl<> impl Wizard97 property sheet
CWizard97Sheet as-is  
CWizard97PageWindow client  
CWizard97PageImpl<> impl Wizard97 property page
CWizard97ExteriorPageImpl<> impl Wizard97 exterior page
CWizard97InteriorPageImpl<> impl Wizard97 interior page

common dialogs
CFileDialogImpl<> impl GetOpenFileName/GetSaveFileName
CFileDialog as-is  
CFolderDialogImpl impl directory picker
CFolderDialog as-is  
CFontDialogImpl<> impl ChooseFont common dialog
CFontDialog as-is  
CRichEditFontDialogImpl<> impl ChooseFont for rich edit
CRichEditFontDialog as-is  
CColorDialogImpl<> impl ChooseColor common dialog
CColorDialog as-is  
CPrintDialogImpl<> impl PrintDlg common dialog
CPrintDialog as-is  
CPrintDialogExImpl impl new Win2000 print dialog
CPrintDialogEx as-is  
CPageSetupDialogImpl<> impl PageSetupDlg common dialog
CPageSetupDialog as-is  
CFindReplaceDialogImpl<> impl FindText/ReplaceText
CFindReplaceDialog as-is  

USER support
CMenu client menu support
CMenuItemInfo as-is MENUITEMINFO wrapper
CAccelerator client accelerator table
CIcon client icon object
CCursor client cursor object
CResource client generic resource object

GDI support
CDC client DC support
CPaintDC client for handling WM_PAINT
CClientDC client for GetDC
CWindowDC client for GetWindowDC
CPen client GDI pen object
CBrush client GDI brush object
CLogFont as-is LOGFONT wrapper
CFont client GDI font object
<