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 » Starting troubles - Icons - balloon tips - translation strings Collapse All
Subject Author Date
Gernot Griesser Jan 8, 2005 - 3:54 PM

Hello!


I downloaded Prof-UIS Shareware. Now I’d like to migrate from already existing MFC SDI application to those based on Prof-UIS. I’ve done all steps decriped in "Getting started with Prof-UIS" http://www.prof-uis.com/ArticleRead.aspx?AID=220
Additionally I’m using Office 2003 style by using g_PaintManager in OnCreate().


Now I’ve some problems:


*) Currently no Icons in the toolbar are shown. I can click on the Icons (like Buttons) but I can’t see them. Before using Prof-UIS it works fine (and the toolbar bitmap is ok).


*) How can I disable the balloon tips in the menu?


*) How Can I disable the ">>" so that all menu entrys are shown all the time?


*) Where can I change the Germain translation strings, for example "Wo sind Schaltflächen"?


Yours,
Gernot

Technical Support Jan 9, 2005 - 9:25 AM

Dear Gernot,

You simply forgot to attach your main frame window to some command profile in the command manager. Please take a look at the CMainFrame::OnCreate method in any of our sample applications. Somewhere at the beginning you will find g_CmdManager->ProfileSetup or g_CmdManager->ProfileWndAdd. You should add this important code to your application. The buttons in your toolbar have no images because the toolbar window cannot find the corresponding command profile which contains command images.

To disable balloon tips in menus, set CExtPopupMenuWnd::g_bMenuShowCoolTips to false. The following code snippet enables your app to always show full menus:

CExtPopupMenuWnd::g_bMenuExpanding = false;
CExtPopupMenuWnd::g_bMenuHighlightRarely = false;
You can find the German resources in the profuisdll project (the German string table resource).