Click here to Skip to main content
15,923,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CTreeCtrl SetCheck problem Pin
peterchen5-Dec-02 8:07
peterchen5-Dec-02 8:07 
Generalfont resizing Pin
jmgir3-Dec-02 21:18
jmgir3-Dec-02 21:18 
GeneralRe: font resizing Pin
KaЯl3-Dec-02 21:39
KaЯl3-Dec-02 21:39 
GeneralRe: font resizing Pin
jmgir3-Dec-02 21:47
jmgir3-Dec-02 21:47 
GeneralRe: font resizing Pin
KaЯl3-Dec-02 22:01
KaЯl3-Dec-02 22:01 
GeneralRe: font resizing Pin
Scott H. Settlemier5-Dec-02 7:25
Scott H. Settlemier5-Dec-02 7:25 
GeneralCommunication between Dialogs in a TabControl Pin
pma3-Dec-02 20:20
pma3-Dec-02 20:20 
GeneralRe: Communication between Dialogs in a TabControl Pin
Roger Allen4-Dec-02 1:40
Roger Allen4-Dec-02 1:40 
I havn't looked at the example, but a guess would be to have each of the dialogs in your tab control to inherit from a base class one which provides a virtual function DoUpdate() or some such. This gets overriden in each of the actual dialog class's. Now to update the dialog in a different tab, you get your parent (the tab control) to give you a pointer to the required one, using this base class pointer. You then call DoUpdate on it.

To switch tot he other dialog, you should just call SetCurSel() or the equivalent on the tab control.


Roger Allen
Sonork 100.10016

In case you're worried about what's going to become of the younger generation, it's going to grow up and start worrying about the younger generation. - Roger Allen, but not me!
QuestionHow to draw Menu? Pin
litth3-Dec-02 19:43
litth3-Dec-02 19:43 
AnswerRe: How to draw Menu? Pin
Roger Allen4-Dec-02 1:42
Roger Allen4-Dec-02 1:42 
Generaldatabase Pin
udayGovekar3-Dec-02 19:35
udayGovekar3-Dec-02 19:35 
GeneralC++ Problem Need Help Part 2 Pin
alishaklas3-Dec-02 18:57
alishaklas3-Dec-02 18:57 
GeneralRe: C++ Problem Need Help Part 2 Pin
Christian Graus3-Dec-02 19:24
protectorChristian Graus3-Dec-02 19:24 
GeneralRe: C++ Problem Need Help Part 2 Pin
Roger Wright3-Dec-02 19:45
professionalRoger Wright3-Dec-02 19:45 
GeneralRe: C++ Problem Need Help Part 2 Pin
Christian Graus3-Dec-02 19:52
protectorChristian Graus3-Dec-02 19:52 
GeneralRe: C++ Problem Need Help Part 2 Pin
Michael Dunn3-Dec-02 20:00
sitebuilderMichael Dunn3-Dec-02 20:00 
GeneralRe: C++ Problem Need Help Part 2 Pin
Roger Wright3-Dec-02 20:40
professionalRoger Wright3-Dec-02 20:40 
GeneralRe: C++ Problem Need Help Part 2 Pin
Rage3-Dec-02 21:23
professionalRage3-Dec-02 21:23 
GeneralRe: C++ Problem Need Help Part 2 Pin
KaЯl3-Dec-02 22:24
KaЯl3-Dec-02 22:24 
GeneralRe: C++ Problem Need Help Part 2 Pin
Rickard Andersson203-Dec-02 21:24
Rickard Andersson203-Dec-02 21:24 
GeneralRe: C++ Problem Need Help Part 2 Pin
Michael P Butler3-Dec-02 22:07
Michael P Butler3-Dec-02 22:07 
GeneralC++ Problem Need Help Part 1 Pin
alishaklas3-Dec-02 18:56
alishaklas3-Dec-02 18:56 
GeneralRe: C++ Problem Need Help Part 1 Pin
Christian Graus3-Dec-02 19:20
protectorChristian Graus3-Dec-02 19:20 
GeneralRe: C++ Problem Need Help Part 1 Pin
Chris Losinger3-Dec-02 19:33
professionalChris Losinger3-Dec-02 19:33 
GeneralRe: C++ Problem Need Help Part 1 Pin
Roger Wright3-Dec-02 19:48
professionalRoger Wright3-Dec-02 19:48 

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.