Jump to content

guitreeview and onevent


Recommended Posts

Okay, I've searched and cannot seem to get a final YES or NO that the new _guictrltreeview_add... functions will allow you to set an event to fire with guictrlsetonevent or some other function call.

$tree = _guictrltreeview_create($form1,336, 45, 285, 377,BitOR($TVS_CHECKBOXES,$WS_TABSTOP))
$ditem = _guictrltreeview_add($tree,0,$dir)
GUICtrlSetOnEvent($ditem, "Folder_Click")

I just downloaded the new autoit - not beta - and then rewrote several functions to work with the new guitreeview.au3 and guilistview.au3 only to discover my events now don't fire.

Something about handles? Whatzup?

Link to comment
Share on other sites

Okay, I've searched and cannot seem to get a final YES or NO that the new _guictrltreeview_add... functions will allow you to set an event to fire with guictrlsetonevent or some other function call.

$tree = _guictrltreeview_create($form1,336, 45, 285, 377,BitOR($TVS_CHECKBOXES,$WS_TABSTOP))
$ditem = _guictrltreeview_add($tree,0,$dir)
GUICtrlSetOnEvent($ditem, "Folder_Click")

I just downloaded the new autoit - not beta - and then rewrote several functions to work with the new guitreeview.au3 and guilistview.au3 only to discover my events now don't fire.

Something about handles? Whatzup?

Controls created with the UDF functions don't work with GUICtrlSetOnEvent or GuiGetMsg, would need to use WM_NOTIFY

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...