This class encapsulates the functionality of a Windows CE dialog box.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
In Windows CE, all dialog boxes are control parents, and are also recursive. This means that if a dialog box has a child dialog box, when a user tabs through the parent dialog box, the dialog manager always tabs into the child dialog box as well.
If a dialog box is outside the visible area of the screen, Windows CE does not automatically reposition it. Windows CE does not support the DM_REPOSITION message.
If a dialog box was created with version 1.0 or 1.1 of MFC for Windows CE, the MFC framework will not automatically center it. To center it, call the CenterWindow function inside the dialog box’s OnInitDialog handler.
If a user presses ALT+H while the dialog box has the input focus, the system posts a WM_HELP message to the dialog procedure. An application should respond to this message by displaying context-sensitive help for the dialog box.