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 Tech Support » Dialog With Tab Pages and MenuBar Collapse All
Subject Author Date
Nitesh Singh Nov 30, 2006 - 3:37 AM

I have a Main Dialog. i want to put some controls on this main Dialog like Button , MenuBar and ToolBar. And i also want to put Tab Pages on
this Main Dialog. All the Tab Pages are different Dialogs. I m doing Different Tasks on Different Dialog. I Also Want to Put Dynamic Context Menu ( Dont want to create the context manu in resource) on Dialogs.
One Button Of main Dailog is Exactly Similar to "Views" Button of windows. which gives option like " Large View " Small View" Details" etc.



Can u provide Me a Sample Project wich supports all these fetures. Please this is urgent . and help me as quick as u can

thanks in advance

Suhai Gyorgy Nov 30, 2006 - 8:01 AM

I modified ProfUIS_Controls sample to fit your needs. The Dynamic context menu is implemented in the OnContextMenu method of CPageBase class.

This sentence wasn’t really clear:
"One Button Of main Dailog is Exactly Similar to "Views" Button of windows. which gives option like " Large View " Small View" Details" etc."
Large View, Details, etc makes only sense when working with CListView. Do you need a button with a dropdown menu appearing when pressing it? If so, it is shown in the CPageButtons class.

You can download the modified sample from here. I tested it with Static Unicode Debug configuration with ProfUIS v2.55.

Nitesh Singh Nov 30, 2006 - 9:58 PM

yeah my main concern is button with drop down menu.Main dialog with different tab pages. all tab pages are different dialog. i also want to add some controls like tool bar , menu bar , buttons on the main dialog. The link u have provided me "here" for downloading the sample is not working . so please check it.

Suhai Gyorgy Dec 1, 2006 - 1:21 AM

Sorry, copy-paste didn’t work right for some reason. Try again with this link.