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

C / C++ / MFC

 
GeneralRe: [mfc] ip address control Pin
rahuljin22-Jul-09 8:01
rahuljin22-Jul-09 8:01 
GeneralRe: [mfc] ip address control Pin
bolivar12322-Jul-09 9:43
bolivar12322-Jul-09 9:43 
GeneralRe: [mfc] ip address control Pin
rahuljin22-Jul-09 10:03
rahuljin22-Jul-09 10:03 
GeneralRe: [mfc] ip address control Pin
bolivar12322-Jul-09 10:20
bolivar12322-Jul-09 10:20 
GeneralRe: [mfc] ip address control Pin
rahuljin22-Jul-09 10:47
rahuljin22-Jul-09 10:47 
GeneralRe: [mfc] ip address control Pin
bolivar12322-Jul-09 11:07
bolivar12322-Jul-09 11:07 
AnswerRe: [mfc] ip address control Pin
Maximilien22-Jul-09 8:17
Maximilien22-Jul-09 8:17 
QuestionDerived classes in MFC Pin
Penfold82121-Jul-09 23:48
Penfold82121-Jul-09 23:48 
Hello,

I have a program that has a dialog box - call this 'box1' on top of another dialog.
I want to create a 'box2' that will have some of the same buttons as 'box1' and perform the same actions - don't ask why i need to do this!

What i think is that making box2 a 'child' / derived class of box1 will be the best idea.

What i want to do is tell the program, when button 'my buttonbox2' is clicked in box2 it just goes to the 'mybuttonbox1' in box1 and carries out that process.


I understand all the class and derived class things in C++, and I understand all the OnBtnClicked stuff etc... i'm just having a hard time with my limited knowledge to connect standard C++ with MFC!

If anyone can help I would be very grateful. Thankyou.
AnswerRe: Derived classes in MFC Pin
Code-o-mat22-Jul-09 0:40
Code-o-mat22-Jul-09 0:40 
GeneralRe: Derived classes in MFC Pin
Penfold82122-Jul-09 1:01
Penfold82122-Jul-09 1:01 
GeneralRe: Derived classes in MFC Pin
Code-o-mat22-Jul-09 1:39
Code-o-mat22-Jul-09 1:39 
GeneralRe: Derived classes in MFC Pin
Penfold82122-Jul-09 2:52
Penfold82122-Jul-09 2:52 
GeneralRe: Derived classes in MFC Pin
Code-o-mat22-Jul-09 3:26
Code-o-mat22-Jul-09 3:26 
GeneralRe: Derived classes in MFC Pin
Penfold82122-Jul-09 3:40
Penfold82122-Jul-09 3:40 
QuestionNeed help in accessment Pin
funjoke8821-Jul-09 23:32
funjoke8821-Jul-09 23:32 
AnswerRe: Need help in accessment Pin
_AnsHUMAN_ 21-Jul-09 23:40
_AnsHUMAN_ 21-Jul-09 23:40 
AnswerRe: Need help in accessment Pin
Michael Schubert21-Jul-09 23:45
Michael Schubert21-Jul-09 23:45 
AnswerRe: Need help in accessment Pin
Cedric Moonen21-Jul-09 23:57
Cedric Moonen21-Jul-09 23:57 
AnswerRe: Need help in accessment Pin
#realJSOP22-Jul-09 0:22
professional#realJSOP22-Jul-09 0:22 
Questiondisabling devices Pin
Subrat Patnaik21-Jul-09 23:30
Subrat Patnaik21-Jul-09 23:30 
AnswerRe: disabling devices Pin
Adam Roderick J22-Jul-09 2:41
Adam Roderick J22-Jul-09 2:41 
GeneralRe: disabling devices Pin
Subrat Patnaik22-Jul-09 19:07
Subrat Patnaik22-Jul-09 19:07 
AnswerRe: disabling devices Pin
Adam Roderick J22-Jul-09 22:40
Adam Roderick J22-Jul-09 22:40 
GeneralRe: disabling devices Pin
Subrat Patnaik23-Jul-09 23:56
Subrat Patnaik23-Jul-09 23:56 
QuestionHow to make report Pin
Max++21-Jul-09 23:26
Max++21-Jul-09 23:26 

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.