WTL architecture
The dialog ATL's dialog supports the universal dialog, which has added a universal dialog package. Even joining the input verification and callback functions for the dialog. For example, you want to change the Year Open dialog in the user. There is actions when the folder is, then you should inherit a class from cfiledialogimpl <> to implement onfolderchange ():
class CMyFileDialog: public CFileDialogImpl
When the path of the folder changes, CFiledialogIMPL <> calls onfolderchange (). This function uses the base class getFolderPath () to get a new path. Control WTL provides package classes for all Win32 and General Controls, including Windows 2000 new join Although only simple packaging, they make these controls easier access. For example, can you remember to read the message of the current selected item from the list view and the parameters that need to pass? (In fact, you need to send two messages, one is the index of the selected item, the other is to read its text.) The author of the WTL has completed these annoying work for you, providing a simple package function for You use it. There are two ways to use these controls. If you have a control in your dialog, you can attach the HWnd of the control to a package object, access the control using the package class. This method simplifies you read Write the control data and handle the code for the Notification message. Additional usage is to add these classes to your view class in the inheritance hierarchy: Class CMYVIEW: PUBLIC CWINDOWIMPL
Class Description CBitmapButton This is a button with bitmap replacement title. You can provide an Image List, which contains the button in normal, invalid, push and mouse falling on the button on the button. ChyperLink lets you build a Static control, it On behalf of a HyperLink, the default web browser opens this link when the user clicks on it. Cwaitcursor is just in its constructor to change the mouse icon into a wait state, and restore in the destructor .cchecklistViewCtrl at each There is a check box.cmultipaneStatusBarctrl (unreasonable continuation) on the edge of the List Box.cmultipaneStatusBarctrl (unreasonable)