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

C / C++ / MFC

 
GeneralRe: Mouse tracker Pin
Chris Losinger26-Feb-02 8:06
professionalChris Losinger26-Feb-02 8:06 
GeneralRe: Mouse tracker Pin
alex.barylski26-Feb-02 9:30
alex.barylski26-Feb-02 9:30 
GeneralRe: Mouse tracker Pin
Chris Losinger26-Feb-02 9:49
professionalChris Losinger26-Feb-02 9:49 
GeneralRe: Mouse tracker Pin
alex.barylski26-Feb-02 10:12
alex.barylski26-Feb-02 10:12 
GeneralOpenGL Pin
Rajveer26-Feb-02 7:22
Rajveer26-Feb-02 7:22 
GeneralRe: OpenGL Pin
Simon Walton26-Feb-02 8:06
Simon Walton26-Feb-02 8:06 
GeneralVisual C++ Workspace style dialog bar Pin
Aaron Schaefer26-Feb-02 6:38
Aaron Schaefer26-Feb-02 6:38 
GeneralRe: Visual C++ Workspace style dialog bar Pin
Derek Waters26-Feb-02 11:04
Derek Waters26-Feb-02 11:04 
Hi,

You've basically got two options here. The first way is that you have one tab control and one tree control. When the tab control selection changes, you blow away all of the tree items and repopulate the tree with new items.

The alternative method (and the one I would think was better) is to have two tree controls both occupying the same space. Then, when the tab selection changes, just do a ShowWindow(SW_HIDE) on one tree control and ShowWindow(SW_SHOW) on the other. This will result in much quicker switching, especially if the amount of items in the tree is large.


------------------------
Derek Waters
derek@lj-oz.com
GeneralRe: Visual C++ Workspace style dialog bar Pin
Aaron Schaefer26-Feb-02 11:07
Aaron Schaefer26-Feb-02 11:07 
Generalbeing awkward with dialogues again... Pin
Trollslayer26-Feb-02 6:13
mentorTrollslayer26-Feb-02 6:13 
GeneralRe: being awkward with dialogues again... Pin
Nish Nishant26-Feb-02 7:02
sitebuilderNish Nishant26-Feb-02 7:02 
GeneralRe: being awkward with dialogues again... Pin
alex.barylski26-Feb-02 7:02
alex.barylski26-Feb-02 7:02 
QuestionHow can I define a new interface using ATL ????? Pin
Braulio Dez26-Feb-02 5:32
Braulio Dez26-Feb-02 5:32 
AnswerRe: How can I define a new interface using ATL ????? Pin
Carlos Antollini26-Feb-02 5:49
Carlos Antollini26-Feb-02 5:49 
GeneralRe: How can I define a new interface using ATL ????? Pin
Braulio Dez26-Feb-02 6:37
Braulio Dez26-Feb-02 6:37 
GeneralRe: How can I define a new interface using ATL ????? Pin
Carlos Antollini26-Feb-02 8:35
Carlos Antollini26-Feb-02 8:35 
GeneralSAFEARRAY UDT and connection points Pin
26-Feb-02 4:41
suss26-Feb-02 4:41 
GeneralRe: SAFEARRAY UDT and connection points Pin
Bill Wilson26-Feb-02 6:21
Bill Wilson26-Feb-02 6:21 
GeneralDestructor Question... Pin
CDuddley26-Feb-02 3:48
CDuddley26-Feb-02 3:48 
GeneralRe: Destructor Question... Pin
Joaquín M López Muñoz26-Feb-02 3:56
Joaquín M López Muñoz26-Feb-02 3:56 
GeneralRe: Destructor Question... Pin
Ravi Bhavnani26-Feb-02 4:02
professionalRavi Bhavnani26-Feb-02 4:02 
GeneralBeginPath() Pin
Mazdak26-Feb-02 3:10
Mazdak26-Feb-02 3:10 
GeneralRe: BeginPath() Pin
Tim Smith26-Feb-02 3:13
Tim Smith26-Feb-02 3:13 
GeneralEject media with Interrupt 21h Pin
radix26-Feb-02 2:54
radix26-Feb-02 2:54 
GeneralRe: Eject media with Interrupt 21h Pin
Jon Hulatt26-Feb-02 4:11
Jon Hulatt26-Feb-02 4:11 

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.