Sign in to follow this  

c++ static window object, how to set font type, foreground and background colour?

Recommended Posts

Hi, I managed to change the font for the static object like so:

SendMessage(lblStart, WM_SETFONT, (WPARAM)font, TRUE);

But I also want to change it for edit and combobox objects. So far it just resizes amount of space to show the text, which gives me some cut of text from the top and bottom.

Any ideaS?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this