Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDirectShow with MFC Pin
juryu29-Sep-03 7:09
juryu29-Sep-03 7:09 
GeneralRe: DirectShow with MFC Pin
Ravi Bhavnani29-Sep-03 8:42
professionalRavi Bhavnani29-Sep-03 8:42 
GeneralJPEG2000 Pin
gicio29-Sep-03 7:00
gicio29-Sep-03 7:00 
QuestionInternet Explorer Context Menu? Pin
MKlucher29-Sep-03 6:27
MKlucher29-Sep-03 6:27 
AnswerRe: Internet Explorer Context Menu? Pin
Neville Franks29-Sep-03 11:00
Neville Franks29-Sep-03 11:00 
AnswerRe: Internet Explorer Context Menu? Pin
J. Dunlap29-Sep-03 11:49
J. Dunlap29-Sep-03 11:49 
GeneralRe: Internet Explorer Context Menu? Pin
MKlucher29-Sep-03 19:49
MKlucher29-Sep-03 19:49 
GeneralInheriting existing dialogs Pin
PaulUK0129-Sep-03 6:22
PaulUK0129-Sep-03 6:22 
Hi. I have created a dialog called LOADS. This uses 8 radio buttons to allow the user to select the load (Hi / Low) on one of four instances of a wheelspeed transducer(WST). I therefore create an instance of LOADS in my main dialog:

LOADS WST

A second type of transducer is an Anti Skid Valve (ASV), but this has 6 instances of which I wish to set the load. The way I've implemented this is to have all six instances (12 radio buttons) on the LOADS dialog, and I pass a switch to DoModal() to tell it wether or not to disable the other two sets of radio buttons:

LOADS WST;
LOADS ASV;

if(WST.DoModal(1)!=IDOK)
return;

if(ASV.DoModal(0)!=IDOK)
return;

Then, in the LOADS functionality I can disable the unwanted radio buttons if the parameter to DoModal=1, and enable them if parameter =0;

Question: Instead of doing the above, how can I inherit a LOADS dialog so that I create a new dialog (eg LOADSASV) which I can then add the extra radio buttons to, thus replACING THE ABOVE CODE WITH:

LOADS WST;
LOADSASV ASV;

Can you help or point me to a suitable article? Thanks in advance.

Paul
GeneralHough Transform implementation Pin
lipkaj29-Sep-03 5:36
lipkaj29-Sep-03 5:36 
GeneralCustom OnSize handling Pin
Terry O'Nolley29-Sep-03 4:46
Terry O'Nolley29-Sep-03 4:46 
GeneralRe: Custom OnSize handling Pin
David Crow29-Sep-03 4:57
David Crow29-Sep-03 4:57 
GeneralRe: Custom OnSize handling Pin
Terry O'Nolley29-Sep-03 5:22
Terry O'Nolley29-Sep-03 5:22 
GeneralRe: Custom OnSize handling Pin
David Crow29-Sep-03 5:27
David Crow29-Sep-03 5:27 
GeneralRe: Custom OnSize handling Pin
Terry O'Nolley29-Sep-03 6:08
Terry O'Nolley29-Sep-03 6:08 
GeneralRe: Custom OnSize handling Pin
David Crow29-Sep-03 6:18
David Crow29-Sep-03 6:18 
GeneralRe: Custom OnSize handling Pin
Terry O'Nolley29-Sep-03 12:26
Terry O'Nolley29-Sep-03 12:26 
GeneralRe: Custom OnSize handling Pin
Chris Meech29-Sep-03 6:22
Chris Meech29-Sep-03 6:22 
GeneralRe: Custom OnSize handling Pin
Terry O'Nolley29-Sep-03 12:27
Terry O'Nolley29-Sep-03 12:27 
GeneralRe: Custom OnSize handling Pin
Anonymous29-Sep-03 5:07
Anonymous29-Sep-03 5:07 
GeneralRe: Custom OnSize handling Pin
Terry O'Nolley29-Sep-03 5:12
Terry O'Nolley29-Sep-03 5:12 
GeneralRe: Custom OnSize handling Pin
Anonymous29-Sep-03 5:22
Anonymous29-Sep-03 5:22 
GeneralRe: Custom OnSize handling Pin
Terry O'Nolley29-Sep-03 5:26
Terry O'Nolley29-Sep-03 5:26 
GeneralRe: Custom OnSize handling Pin
Iain Clarke, Warrior Programmer29-Sep-03 5:57
Iain Clarke, Warrior Programmer29-Sep-03 5:57 
GeneralOutput Pin
sardinka29-Sep-03 4:45
sardinka29-Sep-03 4:45 
GeneralRe: Output Pin
David Crow29-Sep-03 4:58
David Crow29-Sep-03 4:58 

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.