Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CloseSubMenuOnClick & ShowPopup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CloseSubMenuOnClick & ShowPopup

 Post Reply Post Reply
Author
Message
dajv View Drop Down
Groupie
Groupie


Joined: 27 July 2004
Location: Australia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote dajv Quote  Post ReplyReply Direct Link To This Post Topic: CloseSubMenuOnClick & ShowPopup
    Posted: 16 January 2006 at 7:31pm
I am having problems with CloseSubMenuOnClick not working when showing a dynamically created popup using ShowPopup.

I had a look at https://forum.codejock.com/forum_posts.asp?TID=1942&KW=Close SubMenuOnClick but it wasn't any help, and the sample isn't available any more.

I have a popup menu with 4 menu items, one of those a popup menu. when items under that sub menu are clicked i want the menu to stay open. any other selection should close the menu. I read in the above linked thread that all menu items must have the CloseSubMenuOnClick property set for it to take effect, but even when i set it for all the controls in the menu (including ones that I don't want it for), the menu always closes.

Please see the attached sample, which is code I have taken out of the application.

2006-01-16_193102_reproduce_closeonsubmenuclick_problem.zip

Thanks
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2006 at 1:17am

Hello,

this option can't work with TPM_RETURNCMD.

so choose or TPM_RETURNCMD, or CloseSubMenuOnClick.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dajv View Drop Down
Groupie
Groupie


Joined: 27 July 2004
Location: Australia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote dajv Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2006 at 6:20pm
Thanks, that makes sense.
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.188 seconds.