Jump to content

Contextmenu With Guictrlsetonevent


Recommended Posts

Hi,

thinking at the limits TRAY_MAXITEMS and TRAY_MAXEVENT of the tray menu, I would like to know if there are limits of GUICtrlCreateMenuitem as well. I use a ContextMenu in every child window with about 15 entrys. From the 12th window on the function connected with the entry via GUICtrlSetOnEvent doesn't start.... Ideas?

thanx, Laetterman

Link to comment
Share on other sites

Hi,

thinking at the limits TRAY_MAXITEMS and TRAY_MAXEVENT of the tray menu, I would like to know if there are limits of GUICtrlCreateMenuitem as well. I use a ContextMenu in every child window with about 15 entrys. From the 12th window on the function connected with the entry via GUICtrlSetOnEvent doesn't start.... Ideas?

thanx, Laetterman

in not seeing your code all we can do is guess

if you have any listviews, each item in the listview is also a control

i've seen it happen with a script i wrote and the listview hit so many then controls no longer populated/worked.

GUI_MAXCONTROLS 4093 Maximum number of controls in GUI box.

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...