![]() |
CXTDateTimeCtrl font on Vista |
Post Reply ![]() |
Author | |
dennisV ![]() Senior Member ![]() ![]() Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
![]() ![]() ![]() ![]() ![]() Posted: 25 May 2008 at 3:01am |
Hello all,
I've got a CXTDateTimeCtrl embedded in a toolbar and on Vista the font in the control looks wrong - it looks ok XP though. By "looks ok" I mean that it matches the general look and feel of other fonts in windows and dialogs. In the attached screenshot you can see the font in the report header - you see the fonts don't match at all. ![]() Does anyone know what is the best way to correct this? If I use the SetMonthCalFont() function, what font should I use? Thanks, Dennis |
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
try call
Picker.SetFont(XTPPaintManager()->GetRegularFont());
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dennisV ![]() Senior Member ![]() ![]() Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
![]() ![]() ![]() ![]() ![]() |
Hi, That worked beautifully! Thanks! ![]() Dennis |
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |