|
-
September 2nd, 1999, 05:53 PM
#1
CustomToolbar with controls - Font problem
Hi,
I created a custom toolbar with two edit and two combo control. I couldn't able to change the font.
In my toolbar( derived from CToolBar) class I've CFont member and I used SetFont for the edit/combo members of the class. I ain't see the font changing....anybody have same problem. Help me
-
September 2nd, 1999, 09:04 PM
#2
Re: CustomToolbar with controls - Font problem
Try handling the WM_CTLCOLOR message in your toolbar and setting the font there. I have had success with this in another docking bar that I have written
Ryan
-
September 3rd, 1999, 10:25 AM
#3
Re: CustomToolbar with controls - Font problem
Hi Ryan,
I handled the ONCTRLCOLOR(), it seems to be changing the font only if set the break point in debug mode...Not if I run the APP. It seems to be some bug with 3DControls library...Anu thoughts
-
September 5th, 1999, 10:02 PM
#4
Re: CustomToolbar with controls - Font problem
This is an interesting problem. I don't currently have access to any MFC or Windows documentation, so I can't help you at the moment. If I come up with something that might help, I'll post a message.
Sorry,
Ryan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|