![]() |
Crash with ContextMenuPresent in 10.1 |
Post Reply ![]() |
Author | |
markh ![]() Groupie ![]() Joined: 12 November 2003 Location: United Kingdom Status: Offline Points: 49 |
![]() ![]() ![]() ![]() ![]() Posted: 10 April 2006 at 11:34am |
Hello I have just upgraded to 10.1 and am experiencing a crash when setting ContextMenuPresent for a popup control. The code is as follows: XtremeCommandBars::ICommandBarPopupPtr linethicknesspopup = toolbarcontrol->GetItem(2)->FindControl(XtremeCommandB ars::xtpControlSplitButtonPopup, CM_SETTHICKLINE, _variant_t((bool)TRUE), _variant_t((bool)FALSE)); If I remove the ContextMenuPresent = VARIANT_FALSE line there is no crash. As it happens I don't seem to actually need that line but I thought I'd let you know of the problem anyway. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, ContextMenuPresent property applied only for Toolbars. |
|
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 |