![]() |
How to select tab item to give a message? |
Post Reply
|
| Author | |
sevcolor
Newbie
Joined: 21 May 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: How to select tab item to give a message?Posted: 09 June 2006 at 8:05am |
|
I create a CXTPTabControl, I want to select a tab item to give an message e.g. to open "NOTEPAD.exe", How to do it? Can anyone help me? Hearty thanks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2006 at 9:32am |
|
Hi So you want to catch event when tab become selected? |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
sevcolor
Newbie
Joined: 21 May 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2006 at 11:59pm |
|
Thanks oleg. I want to open "NOTEPAD.exe",when tab become selected. I am a new user. I can't resolve it ? I wander if CXTPTabControl can do it?Would you like to help me ? Can you give me an examle? Thanks in advance! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2006 at 8:43am |
|
Check sample Samples\ToolkitPro\TabbedView add ON_NOTIFY(TCN_SELCHANGE, IDC_TABCONTROL, OnSelectedChanged) and void CTabbedViewView::OnSelectedChanged(NMHDR* pNMHDR, LRESULT* pResult)
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
sevcolor
Newbie
Joined: 21 May 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 July 2006 at 7:14pm |
|
Hearty thanks oleg!
As you say,I have resolved it.
thanks a lot!
Sevclor
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |