1 Attachment(s)
Special child dialogs with panes in taskbar?
Now! As you have probably seen, some child modeless dialogs can actually have a pane in the taskbar as well.
For example, in Visual Basic, u create 2 forms. One is the main, and the other is a secondary.
U add a button to the main form(Form1), and when clicked, it shows Form2.
So, the code is something like :
Now, when u run the program and click this button to show the 2nd dialog, you'll see that in the taskbar, a pane for this 2nd dialog actually shows up!
I tried achieving the same in Visual C++ by adding all sortta styles, but in vain.
To show what I'm talking about, I've attached a very darn focused VB sample to show the point.
Click the button, and a dialog shows up.(the only code is : Form2.Show......that's all)
Notice that there's 2 panes in the taskbar : one for the main dialog, one for the secondary dialog.
In Visual C++, when u try to show this same kinda dialogs, there's only 1 pane on the taskbar, and that's the pane for the main dialog, no panes for secondary dialogs.
Is it possible to achieve this in Visual C++? I've used Spy++ to help me view the style differences too, but in vain.
Please and thanks!