Hey, I got a tab control all setup but I'm not sure what you do with it. Do you just put all your controls onto the same dialog and hide the Items that are not on the selected control?
Hey, I got a tab control all setup but I'm not sure what you do with it. Do you just put all your controls onto the same dialog and hide the Items that are not on the selected control?
I typically use a modeless dialog box for each "page" of the tab control.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Does it matter how you do it? I already have it setup to hide the items that aren't part of the selected tab. Is this a bad way to do it?
Makes it hard to use all the TAB's area as you can't place one control on top of another. This is the main advantage of a TAB ctrl.
Also is easier to hide / show a whole Dlg rather than sort thru the ctrls.
Why not just hide the crtls you do not want the user to see based on their activity?
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
>>> Is this a bad way to do it?
If you've done it that way and it is good enough - so it's fine then isn't it. You asked...
>>> Do you just put all your controls onto the same dialog
... so I told you how I usually do it. Novacain's point...
>>> Also is easier to hide / show a whole Dlg rather than sort thru the ctrls.
... sorts it for me.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.