win32lib setLVItemlParam
- Posted by 10963508 at europeonline.com Jul 06, 2002
- 368 views
Derek, setLVItemlParam() is global, it should't be because isnt lParam already taken for win32lib internal stuff? Also, I modified fDoLVN_ITEMCHANGED so that params [1] has row of changed item because when you click on checkbox of listview there is no easy way to tell which item's check box was clicked. ---------------------------------------------------- function fDoLVN_ITEMCHANGED(integer id, atom hWnd, atom wParam, atom lParam) ---------------------------------------------------- id = getId( fetch( lParam, NMHDR_hwndFrom )) --// Start Tone Skoda --// VOID = invokeHandler(id, w32HChange, {} ) VOID = invokeHandler(id, w32HChange, {fetch( lParam, NMLISTVIEW_iItem)} + 1 ) --// End Tone Skoda return {kReturnNow} end function