Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Can we have 2 MDI frame same time? Collapse All
Subject Author Date
jun liu Apr 6, 2005 - 1:05 PM

If my customer has two monitor, I can put my MFC program with 2 MDI frame, each MDI frame take one screen.


The Prof-uis has a lot of place using global variable, for example: CExtControlBar::FrameEnableDocking()


CExtDynamicBarSite::BarEnumGetArray()


Is that possible to have those global variable and function became member variable and function, so I can have seperated set for each MDI frame?


Thanks.


 


 


 

Technical Support Apr 8, 2005 - 3:39 AM

Yes, Prof-UIS supports multi-frame applications. Your project can have two absolutely independent frame windows. If these windows are instances of the same C++ class then, you have to do nothing. In this case, the control bar state is saved by the last destroyed frame.

If you need two frame windows of different C++ classes with different set of toolbars and resizable control bars, then you need to specify different profile names for these frame classes (when you call g_CmdManager-by >Profile...() methods and perform serialization).