Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTabControl - Close button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTabControl - Close button

 Post Reply Post Reply
Author
Message
Shajeer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 January 2006
Location: India
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shajeer Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTabControl - Close button
    Posted: 24 January 2008 at 7:24am
Hi
I am using CXTPTabControl for showing multiple views in SDI application. I want to make sure atleast one view exists always.
 
In CXTPTabControl where I will be notified when clicked on close button, and how to avoid closing the tab.
 
Thanks
Shajeer
 
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 8:36am
Hi,
 
Simple solution call SetClosable(FALSE) for one of tab.
Difficult is to override OnNavigateButtonClick method.
See sources.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Shajeer View Drop Down
Newbie
Newbie
Avatar

Joined: 20 January 2006
Location: India
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shajeer Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 9:27am

Thanks for your quick reply.

I just want to know one more thing.
I am using CXTPTabControl for showing mutiple webpages(views) at the same time.
Is there any option in the CXTPTabControl for showing the progress of the download of website in the tab itself as like IE 7.0
.
 
Thanks
Shajeer
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2008 at 9:43am
Hello,
You can create some images and dynamically change them. There is no option to make it automatially.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.