How do i create my own class using AfxRegisterClass in CDialog? For CWnd, i can put the code inside the PreCreateWindow, but for CDialog, the PreCreateWindow function isn't called at all.
Printable View
How do i create my own class using AfxRegisterClass in CDialog? For CWnd, i can put the code inside the PreCreateWindow, but for CDialog, the PreCreateWindow function isn't called at all.
(No PreCreateWindow for Dialogs)
Maybe it gets the message if you specify MessageFilter: "window" instead of "dialog".
You can find that option in the last Tab of the class wizard window in VC++5 and 6.
Bye Uli