![]() |
CXTPTabClientWnd context menu? |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() Posted: 14 May 2007 at 6:59pm |
Hi,
Can you please tell me how to add a right-click context menu for tabs in CXTPTabClientWnd? Similar to the one in VS:
![]() Thanks!
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Please check Samples\ToolkitPro\MDITabWindow:
LRESULT CMainFrame::OnTabbarMouseMsg(WPARAM wParam,LPARAM lParam)
{ if (wParam != WM_RBUTTONDOWN) return FALSE; CPoint point = CPoint((DWORD)lParam);
CXTPTabManagerItem* pItem = m_MTIClientWnd.HitTest(point);
if (pItem) ... |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Thanks a lot! =)
|
|
![]() |
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 |