
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