|
-
August 24th, 1999, 09:19 AM
#1
Document Templates
Doc_View(Beginner)
I'm trying to dynamically create a window like this from my main program -
singleTemplate = new CSingleDocTemplate(
IDR_A, RUNTIME_CLASS(CADoc), RUNTIME_CLASS(CAFrameW), RUNTIME_CLASS(CAView));
CFrameWnd is base of CAFrameW;
I'd like to be able to set all the properties that you can in a call to CAFrameW.Create(...)
some of these properties (eg. size position of window) are set within the main program. What's the best way to pass these properties over to the CAFrameW.OnCreate? Or is there an easier way a call from the main prog.? I think making them global will break stuff.... Hope this makes some sort of sense.
Thanks Rachel
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
|