Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Alternative for ellipses(...) Pin
Michael Dunn30-Dec-04 14:08
sitebuilderMichael Dunn30-Dec-04 14:08 
GeneralRe: Alternative for ellipses(...) Pin
Anonymous30-Dec-04 14:28
Anonymous30-Dec-04 14:28 
AnswerRe: Alternative for ellipses(...) Pin
kbsbng8-Feb-07 18:35
kbsbng8-Feb-07 18:35 
QuestionHow to print/preview multiple pages Pin
AiKnight30-Dec-04 12:57
AiKnight30-Dec-04 12:57 
AnswerRe: How to print/preview multiple pages Pin
PJ Arends30-Dec-04 20:34
professionalPJ Arends30-Dec-04 20:34 
QuestionDocking Windows...How? Pin
Gurra_Koo30-Dec-04 12:53
Gurra_Koo30-Dec-04 12:53 
AnswerRe: Docking Windows...How? Pin
Selvam R30-Dec-04 21:38
professionalSelvam R30-Dec-04 21:38 
GeneralSubclassing Dialogs Pin
Mike Zinni30-Dec-04 10:41
Mike Zinni30-Dec-04 10:41 
Hey all,

I've got to create 5 similar dialogs for a new app I'm writing. All 5 dialogs have the same 3 controls on them (a couple of CStatics and a CEdit control) in addition to a few controls that will be unique for each of the 5 dialogs.

Is there any way to accomplish the following?
- Create a base dialog (CBaseDialog), derive it from CDialog, add those 3 common controls to it.
- Use that new CBaseDialog class as the base class for my 5 similar dialogs so that I don't have to copy/paste the 3 controls onto each of the 5 dialogs?

I'm thinking that since the controls are created from the resource file, I might run into a problem with something like that...

Thanks.
-Mike

-Mike Zinni

"Don't take life too seriously, you'll never make it out alive"
- Van Wilder
GeneralRe: Subclassing Dialogs Pin
Michael Bergman30-Dec-04 11:57
Michael Bergman30-Dec-04 11:57 
GeneralRe: Subclassing Dialogs Pin
PJ Arends30-Dec-04 12:10
professionalPJ Arends30-Dec-04 12:10 
GeneralDirectx problems Pin
samet karadağ30-Dec-04 10:36
samet karadağ30-Dec-04 10:36 
Generalthread programming Pin
tacvbo30-Dec-04 10:06
tacvbo30-Dec-04 10:06 
GeneralRe: thread programming Pin
ThatsAlok30-Dec-04 18:08
ThatsAlok30-Dec-04 18:08 
GeneralUsing Vectors Pin
dlarkin7730-Dec-04 9:29
dlarkin7730-Dec-04 9:29 
GeneralRe: Using Vectors Pin
ThatsAlok30-Dec-04 18:23
ThatsAlok30-Dec-04 18:23 
GeneralRe: Using Vectors Pin
Neville Franks31-Dec-04 10:06
Neville Franks31-Dec-04 10:06 
GeneralProblem with USB Audio mu-Law Pin
Fei184087730-Dec-04 9:17
Fei184087730-Dec-04 9:17 
GeneralRe: Problem with USB Audio mu-Law Pin
namaskaaram2-Jan-05 17:22
namaskaaram2-Jan-05 17:22 
QuestionThe breakpoint will not currently be hit - Invalid file line! ??? Pin
clayman8730-Dec-04 9:16
clayman8730-Dec-04 9:16 
GeneralActiveX in a no-MFC application Pin
MainMa30-Dec-04 8:58
MainMa30-Dec-04 8:58 
QuestionHow Create a Printer Port Monitor?? Pin
raf-sp30-Dec-04 7:32
raf-sp30-Dec-04 7:32 
AnswerRe: How Create a Printer Port Monitor?? Pin
ThatsAlok30-Dec-04 21:59
ThatsAlok30-Dec-04 21:59 
GeneralRe: How Create a Printer Port Monitor?? Pin
raf-sp3-Jan-05 5:23
raf-sp3-Jan-05 5:23 
Generalproblem in RIP Pin
Chuan^230-Dec-04 6:26
Chuan^230-Dec-04 6:26 
GeneralRe: problem in RIP Pin
moliate2-Jan-05 11:57
moliate2-Jan-05 11:57 

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.