Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Rado Manzela
|
Jun 29, 2009 - 3:05 PM
|
Is it possible to have close (or other) button directly in the selected tab in CExtTabPageContainerWnd like in IE’s tabs to close individual tab?
I cannot find such feature it in samples and docs. Thank you
|
|
Technical Support
|
Jun 30, 2009 - 6:02 AM
|
Yes. The CExtTabPageContainerWnd::CloseOnTabsSet() method enables close buttons on tab items.
|
|
Rado Manzela
|
Jun 30, 2009 - 3:13 PM
|
Thank you. I have one more question. I need to add tabs to my view. But the CExtTabPageContainerWnd expects different views for each tab. But I have only one view, I don’t want tabs to change the view, just adjust it. I’ve tried to use CExtTabWnd instead, but it does not draw the wiew which I’ve created just like in ContainerWnd case by seeting tabwnd to be it’s parent.
How can I solve this? Thank you
|
|
Technical Support
|
Jul 1, 2009 - 7:39 AM
|
You can create a simple CView -based class that should work as a container for the CExtTabPageContainer window. Then you can create any windows oas pages inside the tab page container window. You can create other views as tab pages and attach them to some MFC documents.
|
|