roby Posted December 18, 2007 Share Posted December 18, 2007 (edited) Hi, I am writing a program to manage a database and I must use toolbar and listview.. (Thank you Rover for example) Well, I find this work solution, but I have some questions. For example, the function GuiregisterMsg(...) must be only one and must put it in main menu of application? Must I insert all toolbars and listviews in this function? The code of function is right? Please, if smbody has a better solution, help me.... Another question: Why, if I use this code work... ..... Case $hListView And $code = $NM_CLICK ;Recupero il codice del record $iItemIndex = _GUICtrlListView_GetSelectedIndices($hListView) Case $hListView And $code = $LVN_KEYDOWN If _IsPressed("26") And BitAND(WinGetState("Uffici", ""), 8) Then ; up If $iItemIndex > 0 Then $iItemIndex = _GUICtrlListView_GetSelectedIndices($hListView) - 1 EndIf EndIf If _IsPressed("28") And BitAND(WinGetState("Uffici", ""), 8) Then ; down $iItemIndex = _GUICtrlListView_GetSelectedIndices($hListView) + 1 EndIf Case $hListView And $code = $NM_DBLCLK _Dettaglio() EndSwitch ......oÝ÷ Ù©Ýò.±ëaÇ(uéè· +rjëh×6 Case $hListView $code = $NM_CLICK ..... $code = $NM_DBCLICK ...... EndSwitch Thank you Regards Robyprova_maschera_NUOVO.zip Edited December 20, 2007 by roby Link to comment Share on other sites More sharing options...
DirtDBaK Posted December 18, 2007 Share Posted December 18, 2007 my first tip use code or autoit tags.... my second tip This should prolly be in general help and support, and I'll look over it for you [center][/center] Link to comment Share on other sites More sharing options...
roby Posted December 18, 2007 Author Share Posted December 18, 2007 my first tip use code or autoit tags....my second tip This should prolly be in general help and support,and I'll look over it for youWell, thank you for replay...But, what mean "use code or autoit tags"??Please, can you explain me it?Thank you again...Roby Link to comment Share on other sites More sharing options...
alex OF DEATH Posted December 18, 2007 Share Posted December 18, 2007 Well, thank you for replay... But, what mean "use code or autoit tags"?? Please, can you explain me it? Thank you again... Roby Post your code here Just type it before and after your code Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now