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 » Sat Mar 16, 2013 3:53 am

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 » Sat Mar 16, 2013 5:27 am

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 » Sat Mar 16, 2013 5:55 am

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 » Sat Mar 16, 2013 9:27 am

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