Click here to Skip to main content
16,013,548 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: multiple monitors and videowindow.owner Pin
Mark Salsbery19-Feb-07 9:23
Mark Salsbery19-Feb-07 9:23 
GeneralRe: multiple monitors and videowindow.owner Pin
wjp19-Feb-07 11:00
wjp19-Feb-07 11:00 
GeneralRe: multiple monitors and videowindow.owner Pin
Mark Salsbery19-Feb-07 11:44
Mark Salsbery19-Feb-07 11:44 
GeneralRe: multiple monitors and videowindow.owner Pin
wjp19-Feb-07 12:02
wjp19-Feb-07 12:02 
QuestionWhich Direct Show Filter? Pin
coxmail19-Feb-07 2:39
coxmail19-Feb-07 2:39 
GeneralDrawThemeBackground Pin
PJ Arends16-Feb-07 22:21
professionalPJ Arends16-Feb-07 22:21 
GeneralRe: DrawThemeBackground Pin
Michael Dunn17-Feb-07 9:20
sitebuilderMichael Dunn17-Feb-07 9:20 
GeneralRe: DrawThemeBackground Pin
PJ Arends17-Feb-07 15:06
professionalPJ Arends17-Feb-07 15:06 
Thanks for the hint, but that is not what I am after.

Michael Dunn wrote:
Why draw a plain button using a combo box theme?


I do not want a plain button. In the default blue theme a plain button has a whitish background with a dark blue border and it shows hot by drawing a yellow box around the client area. A combo box button is different shades of blue depending on it's state. My control is supposed to have the look and feel of a combo box, but the button is supposed to bring up a dialog, not just drop down a list box. As such I want to be able to draw my own icon on the button instead of the arrow. ie I want to draw a disk for saving files, a folder for opening files, a book for opening the windows address book, a printer for selecting a printer, an eye dropper for picking colours, etc.

Maybe I am just picky, but there must be a way to draw a button using the same colours as a combobox button. I have no problem doing all the drawing in my own code, I just need to know which APIs I have to call to get the colours needed, how to draw the borders so it matches the current theme and all the fun stuff like that.

With a scroll bar thumb the thumb background and the grip are drawn seperately so it is possible to draw the thumb without a grip. I had thought I could use the thumb theme instead of the combo box button for what I want but unfortunately the borders are drawn differently so it just did not look right. If the combo box button had the same drawing principle as the scroll bar thumb and had seperate code for the background and the arrow I would be set, but it does not so I am screwed in my quest.



You may be right
I may be crazy
-- Billy Joel --


Within you lies the power for good, use it!!!

GeneralRe: DrawThemeBackground Pin
Michael Dunn17-Feb-07 17:50
sitebuilderMichael Dunn17-Feb-07 17:50 
GeneralRe: DrawThemeBackground Pin
PJ Arends17-Feb-07 18:27
professionalPJ Arends17-Feb-07 18:27 
QuestionVery first question Pin
Waldermort16-Feb-07 17:38
Waldermort16-Feb-07 17:38 
AnswerRe: Very first question Pin
El Corazon17-Feb-07 4:27
El Corazon17-Feb-07 4:27 
GeneralRe: Very first question Pin
Waldermort17-Feb-07 6:47
Waldermort17-Feb-07 6:47 
GeneralRe: Very first question Pin
El Corazon17-Feb-07 6:53
El Corazon17-Feb-07 6:53 
GeneralRe: Very first question Pin
El Corazon17-Feb-07 7:01
El Corazon17-Feb-07 7:01 
GeneralRe: Very first question Pin
cmk17-Feb-07 11:40
cmk17-Feb-07 11:40 
GeneralRe: Very first question Pin
El Corazon19-Feb-07 18:01
El Corazon19-Feb-07 18:01 
GeneralRe: Very first question Pin
Jeremy Falcon23-Feb-07 8:53
professionalJeremy Falcon23-Feb-07 8:53 
Questionthe baptism of the forum Pin
El Corazon16-Feb-07 15:36
El Corazon16-Feb-07 15:36 
AnswerRe: the baptism of the forum Pin
Waldermort16-Feb-07 15:41
Waldermort16-Feb-07 15:41 
GeneralRe: the baptism of the forum Pin
El Corazon16-Feb-07 15:42
El Corazon16-Feb-07 15:42 
GeneralRe: the baptism of the forum Pin
Waldermort16-Feb-07 15:53
Waldermort16-Feb-07 15:53 
GeneralRe: the baptism of the forum Pin
El Corazon16-Feb-07 16:13
El Corazon16-Feb-07 16:13 
GeneralRe: the baptism of the forum Pin
Waldermort16-Feb-07 16:41
Waldermort16-Feb-07 16:41 
GeneralRe: the baptism of the forum Pin
El Corazon16-Feb-07 16:48
El Corazon16-Feb-07 16:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.