- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This question is more about the VS2005 IDE than IVF, but...
I'm trying to use the tab control from a dialog box, and I want to know if it's possible to add the controls for each tab strip during design (as opposed to adding them at run-time). I tried with a VC++ application as well, with no success. With VB, on the other hand, it works. Is it a ".NET Framework only" feature? If no, what should I do to make it work from a dialog-based application (IVF)?
John.
This question is more about the VS2005 IDE than IVF, but...
I'm trying to use the tab control from a dialog box, and I want to know if it's possible to add the controls for each tab strip during design (as opposed to adding them at run-time). I tried with a VC++ application as well, with no success. With VB, on the other hand, it works. Is it a ".NET Framework only" feature? If no, what should I do to make it work from a dialog-based application (IVF)?
John.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The normal way to do it is to
- for each tab page, create a separate dialog which is borderless and has WS_CHILD and DS_CONTROL styles
- in run-time, create those dialogs as modeless and attach the dialogs to the tab control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, that's the CVF way. I just wanted know if there was another way to do it.
Thanks for the reply, anyway.
John.
Thanks for the reply, anyway.
John.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page