|
-
April 28th, 1999, 02:47 AM
#1
Q: How to use a registered class name in a dialog-based app
I have a dialog-based app where I register my own unique class name in the InitInstance() function. Then I want to use this registered class rather than the default class. How do I do that?
In other apps I have, that are using the doc/view architecture, I override PreCreateWindow() in the CMainFrame object and supply my registered class name to the "lpszClass" member of CREATESTRUCT and it works just fine.
In this dialog-based app, where there is no CMainFrame object, I tried to do the same thing, override PreCreateWindow() in the MainDialog object, but this function never gets called.
Thanks, Ran.
-
January 22nd, 2006, 08:58 AM
#2
Re: Q: How to use a registered class name in a dialog-based app
-
January 22nd, 2006, 09:07 AM
#3
Re: Q: How to use a registered class name in a dialog-based app
 Originally Posted by rhuiskens
The following is the English translation of the above (German) knowledge base article...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|