Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

activating a tab in a tab control

Status
Not open for further replies.

kmm64

Technical User
May 4, 2004
8
0
0
US
Hi all,

If I have a CTabCtrl object called m_tab with 4 tab items is there a way to simulate a mouse click on one of the items without the user doing so. I guess something similar to:

TabCtrl_SetCurSel(m_tab.m_hWnd, tabIndex);

but using NM_CLICK and Send_Message()?

Any help would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top