Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Disable auto-popup of split button popup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable auto-popup of split button popup

 Post Reply Post Reply
Author
Message
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Topic: Disable auto-popup of split button popup
    Posted: 20 December 2012 at 1:29am

Hello Friends,

I am having a split button popup inside a menu.

Currently when the mouse moves over the menu item, the popup associated with the split button automatically shows up.

I don't want the split button popup to appear until the actual > split button is pressed.

How is this possible? Can you help?

Inside the OnCreateControl method I have the following code (simplified for clarity)


CXTPControlPopup* pReminderControl = CXTPControlPopup::CreateControlPopup(xtpControlSplitButtonPopup);

CXTPPopupBar* pDurationListBar = (CXTPPopupBar*)CXTPPopupToolBar::CreateObject();

pReminderControl->SetCommandBar(pDurationListBar);

lpCreateControl->pControl = pReminderControl;


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.