Jump to content
Sign in to follow this  
twbradio

Help with _GUICtrlTreeViewInsertItem and OnEvent mode

Recommended Posts

twbradio

Is there a way to set an OnEvent handler when inserting an item into a treeview with _GUICtrlTreeViewInsertItem?

Thomas Brown


Anyone have a TRS 80 Model III for sale?

Share this post


Link to post
Share on other sites
twbradio

:"> OK, I am really embarrased now ... I had some strange paradigm stuck in my head that said you could only set an OnEvent during GUI definition, but you can set an OnEvent whenever - so there really is no question or problem. :">


Anyone have a TRS 80 Model III for sale?

Share this post


Link to post
Share on other sites
twbradio

:"> OK, I am really embarrased now ... I had some strange paradigm stuck in my head that said you could only set an OnEvent during GUI definition, but you can set an OnEvent whenever - so there really is no question or problem. :">

Sorry, I was wrong - still could use some help. The function GUICtrlTreeViewInsertItem returns a windows handle and not a Control ID ... is there any way to assign or determine these control IDs?

Thomas Brown


Anyone have a TRS 80 Model III for sale?

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  

×