Win32 |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Dec 27, 2006 4:57 pm Post subject: Owner Drawn Controls |
|
|
CodeGuru: Owner Drawing The Submenu Arrow
"My goal was to simply make disabled custom drawn submenus have
disabled looking submenu arrows, but there seemed to be no obvious
way to do this. In finding a solution, I also found a way to simply do
custom submenu drawing if that is what you want to do also." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun Jan 28, 2007 10:00 am Post subject: |
|
|
cboard: OwnerDrawn Radio Buttons?
"And do you want that the text you assign to it with SetWindowText
appear left to it like with the real radio button?
How can it recognize the other radio buttons it should be grouped with?
I'm quite done with it Btw, I had to use GWL_USERDATA to deal with
checked states." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun Feb 25, 2007 12:02 pm Post subject: |
|
|
cboard: Button with both Text and Icon
"To show icon and text, create the button without the BS_ICON flag and
call setimage afterwards to add an image to the text button." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Sep 04, 2007 6:33 pm Post subject: |
|
|
CodeGuru: Owner Drawn Menu with Icons (3) (uses toolbar res),
by Brent Corkum
"As you can see I've added the new Office XP drawing style for the menu's.
I just got a machine with Windows XP on it and I noticed that the menu's in
all our applications looked terrible.
Other additions include support for images with greater than 16 colors. The
example contains images with both 256 and 16 million colors. There is also
an option for how to draw disabled options." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Dec 12, 2007 10:36 pm Post subject: |
|
|
RC: When selecting system colors, match but don't mix
"If you're going to combine colors, and you need them to contrast against
each other (for example, because you're going to draw text with them as
the foreground and background colors), choose a pair from one of the rows
above. Do not choose colors from different rows because there is no guarantee
that they will be readable against each other."
Read the comments! |
|
Back to top |
|
|
|