|
-
June 5th, 2009, 05:23 AM
#1
MFC: CSplitterWnd, runtime class
Hello,
I have the following problem/question:
Let's say I have a class CMyView derived from CView whose constructor can take parameters which influence the view's initial appearance (e.g. an RGB value to set the background color).
Now I want to use CSplitterWnd and create TWO views with CMyView as the runtime class. The two views are supposed to be initialized with different parameters though and therefore have a different initial appearance.
Since I can only pass the runtime class to CSplitterWnd::CreateView how is it possible to influence the construction of the view used with CSplitterWnd?
Thanks in advance!
Tags for this Thread
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
|