June 7th, 2011, 09:17 AM
Passing Parameters to a View from CMDIFrameWnd
When I create a document in an MDI app from CMDIFrameWnd, the associated view is automatically created. Now, I want to pass the View (a subclass of CMDIChildWnd) some parameters from CMDIFrameWnd (which are independent of the document).
The view will use these parameters for drawing its client area, and hence they have to reach the view before ::OnCreateClient is called.
Can anyone help here, and give me some hints/ articles to read to implement this behaviour?
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!