|
-
May 17th, 1999, 05:09 PM
#1
Virtual Functions in Reusable Controls
I want to create reusable controls such as the CYellowEdit control described in "TN062: Message Reflection for Windows". The problem is that I want to be able to override virtual functions such as PreCreateWindow. For the CListCtrl control, for example, PreCreateWindow is the traditional place to set styles. I am sure that there are work-arounds, but I would like to avoid work-arounds if possible.
-
May 17th, 1999, 11:24 PM
#2
Re: Virtual Functions in Reusable Controls
I think I have found the answer myself. PreCreateWindow is not called for dialogs. It is a little confusing, isn't it?
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
|