![]() |
CXTPRibbonTab custom position |
Post Reply ![]() |
Author | |
beria ![]() Newbie ![]() ![]() Joined: 22 April 2008 Location: Ukraine Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 30 March 2009 at 5:35am |
Hi. How to set tab postion on Ribbon Bar?
I have crated Ribbon on dialog. ... CXTPRibbonTab* pTab1 = m_RibbonBar->AddTab(L"Tab 1"); RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0); CRect tabRect(55,35,135,83); pTabOverview->SetRect(tabRect); ... It`s OK, but pTab1 behaves like it has old RECT. Visually tab`s rect is changed but reaction of tab on events like (MOUSEMOVE, LBUTTONDOWN) is mismatch new RECT. |
|
![]() |
|
beria ![]() Newbie ![]() ![]() Joined: 22 April 2008 Location: Ukraine Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
any suggestion?
|
|
![]() |
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 |