Vassili Philippov (vasja@spbteam.com), March 05, 2001.
In standard Pocket PC applications they have a special header in dialogs with blue bold title. How can I insert this header in my dialog (property page)?
|
Required: Application title displayed on NavBar. The topmost application must continuously display its title on the NavBar, regardless of which view the application is in. Other titles, such as the names of the current view, document, card, dialog, etc must be within the client area if it is displayed. Logo requirements do not describe how you should show your dialog title and there is no API function for that. But many developers want to make a program that looks like a standard one. Users know standard programs and they expect the same type of visualization of dialog titles. Here is code that shows such a title. You can use it in dialogs and in property pages. Handle WM_PAINT message and add the following code in your OnPaint method. |