![]() |
MenuBar & Add/Remove & Redraw |
Post Reply ![]() |
Author | |
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() Posted: 28 August 2006 at 5:46am |
Hello,
We have changed from 9.81 to 10.3.0. Now we have a redraw problem after remove/add a control to menubar. CXTPCommandBar* pMenuBar = pCommandBars->GetMenuBar(); CXTPControls* pMenuControls = pMenuBar->GetControls(); if (a) pMenuControls->Remove(s_pOldMenu); else s_pOldMenu = pMenuControls->Add(xtpControlPopup, nID, "", 2); Bug or feature ? Best solution ? With this , it will work if (pMenuBar) pMenuBar->Redraw(); Jimmy |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
yes bug of 10.3.0, fixed in 10.3.1
:(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |