Sign in to follow this  
Followers 0
Laetterman

Contextmenu With Guictrlsetonevent

2 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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.

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0