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 » How to change the font size of menu in my application. Collapse All
Subject Author Date
JANG YOUN SOO Sep 25, 2008 - 3:08 AM

Hello.


I want to chage the font of menu in my application using the prof-uis.


So, I have tried to find the method in CExtMenuControlbar class


but, I could not find.


Please let me konw how to change(reduce) the font size of MENU.

karhong karhong Dec 10, 2008 - 12:25 AM

I just want to set all the font color to green. I have already implement prof uis.


I tried to look into CChildView::_ConrolsData_2_UiSettings()


but i still cant make it work properly. I tried to import ChildView.h and ChildView.cpp into my project, but it come out errors.


Is there any easier method to change my font  color? By  creating a function inside my main and change the font color??


 

Technical Support Sep 25, 2008 - 12:42 PM

You can find how to change the font of menus and toolbars on-the-fly in the FunnyBars sample.

Michael chang Sep 25, 2008 - 5:53 PM

Thanks for your fast reply.


Could you please give me sample code?

Technical Support Sep 26, 2008 - 12:25 PM

The CChildView::_ConrolsData_2_UiSettings() method in the FunnyBars sample application does this very simple work. It simply sets the new font in the g_PaintManager->m_FontNormal object and then repaints all the windows and re-computes layouts of control bars.

Michael chang Sep 26, 2008 - 8:31 PM

thanks.


It’s working properly.


 

karhong karhong Dec 10, 2008 - 12:27 AM

I just want to set all the font color to green. I have already implement prof uis.


 


I tried to look into CChildView::_ConrolsData_2_UiSettings()


 


but i still cant make it work properly. I tried to import ChildView.h and ChildView.cpp into my project, but it come out errors.


 


Is there any easier method to change my font  color? By  creating a function inside my main and change the font color??


[Sorry, i just posted once.. but i dont know how to delete the previous post.. it appear at the top..]