|
-
September 26th, 1999, 06:29 PM
#1
CDialog inheritance
Hi there,
I'd like to create a base dialog class that has speific background color and other apperance attributes, and so all other dialog can inherit that base class and therefore inherit all the apperance uniqueness. But how do I do that? I already created a CDialogBase which is derived from CDialog, and I overloaded its ON_CTLCOLOR, then what i do? Just create another CDialog-based but change its base to CDialogBase from CDialog? If i do that, the constructor calls are different and that causes problem(CDialog(id,hwnd), but CDialogBase(hwnd)). Thanks.
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
|