How to attach a Dialog form to a TabControl tab. 
Author Message
 How to attach a Dialog form to a TabControl tab.

Hello,

Do anyone give me an answer on how to attach a Dailog form to a
TabControl tab? Any example for me.

Regards,

Poon Chak Yau.



Mon, 26 Mar 2001 03:00:00 GMT  
 How to attach a Dialog form to a TabControl tab.
Hi,

Quote:
> Do anyone give me an answer on how to attach a Dailog form to a
> TabControl tab? Any example for me.

General procedure:
- Design the dialog (actually: PropertyPage) in de resource designer.
- Use the classwizzard to create a new class with CPropertyPage as it's
  baseclass. Put all the dialog buttons, spinners and other thingies
  in that class.
- In your app, create a CPropertySheet instance (for instance mySheet)
  and an instance of your propertypage (for instance myPage)
- Use:  mySheet.AddPage (&myPage) to add your PropertyPage to the
  TabControl mySheet.

Remarks:
- The name of the 'dialog' is also the name on the tab.
- Do NOT use extended styles in the design of your PropertyPage resource
- Do NOT use context help
- Use 'Style: Child' and 'Border: Thin'

Hope this helps,

Wim - Please remove 'NO-SPAM-PLEASE' to reply by EMail.

--

#include <stdsig.h>
          ^
          fatal error: Cannot open include file 'stdsig.h': No such file
          or directory



Mon, 26 Mar 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to attach a Dialog form to a TabControl tab.

2. TabControl rearranges my tabs

3. TabControl: Where to put which tab

4. how make one tab in tabcontrol disabled

5. TabControl and Tab-Visible

6. How to hide tab(s) in TabControl

7. Invisible tabs on a tabControl

8. Forms in TabControl

9. Attach a Dialog to a Dialog

10. How to attach controls to tab control?

11. tab key not tabbing in my dialog

12. MDI and attaching the children forms to the main one

 

 
Powered by phpBB® Forum Software