Click here to Skip to main content
15,905,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problems with screen redrawing Pin
Rage10-Jun-08 0:52
professionalRage10-Jun-08 0:52 
GeneralRe: Problems with screen redrawing Pin
kildareflare10-Jun-08 1:47
kildareflare10-Jun-08 1:47 
AnswerRe: Problems with screen redrawing Pin
Cedric Moonen10-Jun-08 0:58
Cedric Moonen10-Jun-08 0:58 
GeneralRe: Problems with screen redrawing Pin
kildareflare10-Jun-08 1:57
kildareflare10-Jun-08 1:57 
AnswerRe: Problems with screen redrawing Pin
Jagdish V. Bhimbha10-Jun-08 5:16
Jagdish V. Bhimbha10-Jun-08 5:16 
AnswerRe: Problems with screen redrawing Pin
Mark Salsbery10-Jun-08 6:14
Mark Salsbery10-Jun-08 6:14 
GeneralPROBLEM FIXED [modified] Pin
kildareflare11-Jun-08 1:09
kildareflare11-Jun-08 1:09 
QuestionCustom Control vs. Owner Draw Control? Pin
sawerr9-Jun-08 23:56
sawerr9-Jun-08 23:56 
Hi
Custom Draw, Owner Draw, Custom Control, Owner Draw Control...

Overriding DrawItem() Method, Overriding OnPaint() Method, OnCustomDraw()
Method, WM_CTLCOLOR Handler, adding custom control which is in toolbox and
"Custom Control DLL"...

I started to search control development in MFC to learn how to write
(stylish)controls but it seems that it will be difficult and confused...
I have basic 2 questions, if you help me to find answers i will be very glad.

1-) In Terminology, are "custom control" and "owner draw control" same
things? If not, i understand that custom control means that writing "custom
control dll" and overriding OnPaint() method and this control will be
reusable in other projects. But owner draw control means changing controls
color for that solution and we only override DrawItem() method. Am i right?

2-) As seen and i am correct, there are many ways to draw a control with
different style and colors. If i want to make a button with gradient color
and want to add it in Toolbox to use in different projects and there will be
2 color options that developer will adjust for drawing button in properties
window when add it to form and select it. Which way must i choose? What must
be the roadmap?

Thanks..
AnswerRe: Custom Control vs. Owner Draw Control? Pin
Rage10-Jun-08 0:50
professionalRage10-Jun-08 0:50 
AnswerRe: Custom Control vs. Owner Draw Control? Pin
Joe Woodbury10-Jun-08 6:17
professionalJoe Woodbury10-Jun-08 6:17 
GeneralRe: Custom Control vs. Owner Draw Control? Pin
sawerr10-Jun-08 7:13
sawerr10-Jun-08 7:13 
GeneralRe: Custom Control vs. Owner Draw Control? Pin
Joe Woodbury10-Jun-08 7:58
professionalJoe Woodbury10-Jun-08 7:58 
QuestionVC++ Toolkit 2003 warning message Pin
rp_suman9-Jun-08 22:45
rp_suman9-Jun-08 22:45 
AnswerRe: VC++ Toolkit 2003 warning message Pin
Alan Balkany10-Jun-08 4:23
Alan Balkany10-Jun-08 4:23 
GeneralRe: VC++ Toolkit 2003 warning message Pin
rp_suman10-Jun-08 14:03
rp_suman10-Jun-08 14:03 
QuestionHelp with navigate2 error Pin
limesp9-Jun-08 22:44
limesp9-Jun-08 22:44 
AnswerRe: Help with navigate2 error Pin
CPallini9-Jun-08 23:07
mveCPallini9-Jun-08 23:07 
QuestionConvert CComPtr<istream> into ostream</istream> Pin
CodingLover9-Jun-08 22:27
CodingLover9-Jun-08 22:27 
Answeristream to ostream? Pin
CPallini9-Jun-08 22:46
mveCPallini9-Jun-08 22:46 
QuestionRe: istream to ostream? Pin
CodingLover9-Jun-08 22:49
CodingLover9-Jun-08 22:49 
QuestionLength of IStream Pin
CodingLover10-Jun-08 0:18
CodingLover10-Jun-08 0:18 
QuestionCreateThread parameter Pin
rp_suman9-Jun-08 22:23
rp_suman9-Jun-08 22:23 
AnswerRe: CreateThread parameter PinPopular
Cedric Moonen9-Jun-08 22:26
Cedric Moonen9-Jun-08 22:26 
GeneralRe: CreateThread parameter Pin
rp_suman9-Jun-08 22:41
rp_suman9-Jun-08 22:41 
GeneralRe: CreateThread parameter Pin
jeron110-Jun-08 4:09
jeron110-Jun-08 4:09 

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.