Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to convert from AVI to WMV Pin
Mark Salsbery18-Jun-08 9:50
Mark Salsbery18-Jun-08 9:50 
QuestionOrdinal 1028 Pin
problemfixer18-Jun-08 5:24
problemfixer18-Jun-08 5:24 
AnswerRe: Ordinal 1028 Pin
James R. Twine18-Jun-08 7:38
James R. Twine18-Jun-08 7:38 
QuestionHow to get string in Combobox after OnSelchange Pin
Member 465568518-Jun-08 3:59
Member 465568518-Jun-08 3:59 
AnswerRe: How to get string in Combobox after OnSelchange Pin
Member 465568518-Jun-08 4:28
Member 465568518-Jun-08 4:28 
QuestionRe: How to get string in Combobox after OnSelchange Pin
David Crow18-Jun-08 4:39
David Crow18-Jun-08 4:39 
AnswerRe: How to get string in Combobox after OnSelchange Pin
sashoalm18-Jun-08 4:55
sashoalm18-Jun-08 4:55 
QuestionWhat IDE for C++? Pin
error140818-Jun-08 3:35
error140818-Jun-08 3:35 
AnswerRe: What IDE for C++? Pin
toxcct18-Jun-08 3:48
toxcct18-Jun-08 3:48 
AnswerRe: What IDE for C++? Pin
John R. Shaw18-Jun-08 6:12
John R. Shaw18-Jun-08 6:12 
GeneralRe: What IDE for C++? Pin
error140818-Jun-08 9:29
error140818-Jun-08 9:29 
AnswerRe: What IDE for C++? Pin
Hamid_RT18-Jun-08 6:33
Hamid_RT18-Jun-08 6:33 
AnswerRe: What IDE for C++? Pin
CPallini18-Jun-08 9:01
mveCPallini18-Jun-08 9:01 
AnswerRe: What IDE for C++? Pin
bulg18-Jun-08 12:36
bulg18-Jun-08 12:36 
GeneralRe: What IDE for C++? Pin
error140819-Jun-08 0:10
error140819-Jun-08 0:10 
QuestionUSB device drivers Pin
Deepu Antony18-Jun-08 3:34
Deepu Antony18-Jun-08 3:34 
AnswerRe: USB device drivers Pin
David Crow18-Jun-08 3:39
David Crow18-Jun-08 3:39 
AnswerRe: USB device drivers Pin
Stephen Hewitt18-Jun-08 15:02
Stephen Hewitt18-Jun-08 15:02 
QuestionUltimate Toolbox's drawing style Pin
sawerr18-Jun-08 3:10
sawerr18-Jun-08 3:10 
AnswerRe: Ultimate Toolbox's drawing style Pin
Saurabh.Garg18-Jun-08 3:15
Saurabh.Garg18-Jun-08 3:15 
GeneralRe: Ultimate Toolbox's drawing style Pin
Maximilien18-Jun-08 3:18
Maximilien18-Jun-08 3:18 
AnswerRe: Ultimate Toolbox's drawing style Pin
James R. Twine18-Jun-08 3:32
James R. Twine18-Jun-08 3:32 
GeneralRe: Ultimate Toolbox's drawing style Pin
sawerr18-Jun-08 3:44
sawerr18-Jun-08 3:44 
GeneralRe: Ultimate Toolbox's drawing style Pin
James R. Twine18-Jun-08 4:07
James R. Twine18-Jun-08 4:07 
GeneralRe: Ultimate Toolbox's drawing style Pin
sawerr18-Jun-08 4:38
sawerr18-Jun-08 4:38 
OK.
If i turn back my question in my firstpost: How does a control developer make decision when only Onpaint or only Drawitem or both of them must be used? Is this relative to control(for example drawing a custom buton is different combobox or etc.) or relative to drawing style?

Can we say that:

If a control has owner draw property we must paint items of control in DrawItem method (like this : http://msdn.microsoft.com/en-us/visualc/bb838680.aspx[^]
but if we want draw combobox itself, we must handle that in OnPaint Handler. We mustn't draw items in onpaint if it support ownerdraw ??

I asked this because i am not sure about my logic. Because for example in that application(custom button) http://www.codeproject.com/KB/buttons/roundbuttons.aspx[^]
he made all the drawing in the DrawItem method.

Thanks for help...

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.