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 » ProfUIS 2.30 (Freeware) - system menu Collapse All
Subject Author Date
Gernot Griesser Feb 20, 2005 - 12:03 PM

On Jan 12, 2005 - 10:57 AM Sergiy Lavrynenko wrote:


[The system menu of the frame window is controlled by the CExtMenuControlBar class. We have added the bool property to this class. This property allows user to specify whether the menu bar window should control the system menu of the frame window.
All the fixes will be available in the next library release.]


Version 2.30 has already been released.


Which bool property do you mean?
Please can you post a code snippet to disable the Office 2003 style in the system menu?


Yours,
Gernot

Technical Support Feb 21, 2005 - 1:26 AM

Yes, you can disable the system menu in question by using this code:

m_wndMenuBar.m_bAllowProfMainFrameSysmenu = false;
You can also use the classic system menu for non-maximized MDI child frames as follows:
m_wndMenuBar.m_bAllowProfChildFrameSysmenu = false;

We have not advertised these features since Prof-UIS system menus work well.

Gernot Griesser Feb 21, 2005 - 3:47 AM

Your code only disables the system menu.


I want to disable the office 2003 style in the system menu.


Yours,


Gernot

Technical Support Feb 21, 2005 - 10:37 AM

All Prof-UIS pop-up menus are painted by the global Paint Manager component. It is not possible to use pop-up menus with a certain style in the menu bar and, at the same time, to use system menus with some other style. Please explain us why you need to do this.

Gernot Griesser Feb 21, 2005 - 10:58 AM

For example Word 2003 uses the "normal" style for its system menu.

Technical Support Feb 22, 2005 - 9:35 AM

Thank you for your comments! Please download an updated version of the ExtMenuControlbar.cpp file and put it into the Prof-UIS/Src folder. After that, please re-build library and try to play with the CExtMenuControlBar::m_bAllowProfMainFrameSysmenu and CExtMenuControlBar::m_bAllowProfChildFrameSysmenu properties again.