How to Bold the Dialog title text

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
rajaramtsql
Earned a small fee
Earned a small fee
Posts: 20
Joined: Wed Feb 20, 2013 5:41 am

How to Bold the Dialog title text

Post by rajaramtsql »

Any one help how to bold the Dialog title text
Radek
Super wx Problem Solver
Super wx Problem Solver
Posts: 286
Joined: Sun Sep 11, 2011 7:17 am

Re: How to Bold the Dialog title text

Post by Radek »

AFAIK, no chance. The titlebar style is determined by the operating system settings. Your app can only specify the text for the titlebar. This is not the wxWidgets flaw - you do not have any tools for manipulating the titlebar style even at the "low level" (window handles, messages).
Youka
Experienced Solver
Experienced Solver
Posts: 51
Joined: Thu Feb 16, 2012 2:24 pm

Re: How to Bold the Dialog title text

Post by Youka »

Wouldn't wxWindowDC (windows only) allow to draw over the titlebar to fake a styled title text?
Radek
Super wx Problem Solver
Super wx Problem Solver
Posts: 286
Joined: Sun Sep 11, 2011 7:17 am

Re: How to Bold the Dialog title text

Post by Radek »

Many problems ahead. For example, text backgound (the user can change this in the system settings), font size (the same), buttons on the titlebar, redrawing (the user has moved something over the titlebar so that the titlebar has been invalidated and scheduled for redrawing) and so on.
Post Reply