Hi,
I am building a dialog box which is used to display the
license agreement information.
I create my dialog template with the dialog editor. The dialog
box contains the “Microsoft Rich Textbox Control” (ActiveX control).
When the function DialogBox() is called to display the dialog box, the command “WM_SETFONT”
is sent to my dialog procedure and the dialog box does not pop up at all.
Do you know how to deal with this problem?
The only information I’ve got from MSDN is “The
dialog box procedure is responsible for saving the font handle passed with the WM_SETFONT
message and selecting the handle into the display device context whenever it
writes text to the window.”
Thanks a lot for your response and help.
Regards,
Jing