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 » Problem in GUI customization of Prof-UI 2.6 Collapse All
Subject Author Date
Ramesh Sojitra Dec 31, 2006 - 10:59 PM

Sir,

we are using your latest Prof-UIS 2.6. we are getting huge advantage of your advanced classes.

we have some problem as below.

1. we have added GUI customization support in our application.It is working but after adding customization support if we add new menu through resource it is not added in compiled "Exe" .
we have tested the same in your sample application "DRAWCLI". The same problem we are getting in sample application also.

2. we are also not able to add new icon image in our application but in debug is is working fine.

Please answer as soon as possible.

Technical Support Jan 3, 2007 - 12:46 PM

The only reason why you why new menu items or toolbar buttons do not appear is that the Prof-UIS customization reads the saved UI state (that was saved before you added new commands) from the registry and it cannot see new commands. To avoid this, you can do one of the following:

1) Invoke the Customize dialog and reset the toolbar, menu bar, or menu sub tree that was changed;
2) Comment out the code responsible for loading the ui state in your code;
3) Delete the registry key under which the state is stored (e.g. HKEY_CURRENT_USER\Software\Foss\Drawcli Application).