Guy_ Posted December 3, 2015 Posted December 3, 2015 (edited) For years, I've been using the flyout menu capabilities of Power Pro ...:Thanks to a post by Melba23, I've recently discovered the flyout part is easy for Autoit too www.autoitscript.com/forum/topic/145020-slide-animation-in-and-out-problem/?do=findComment&comment=1023900My question is for the items...I can probably make most of what I want with the Listbox system. However, Melba also stated somewhere "I would use a double-click for this - ListBoxes (and ListViews) have a nasty habit of eating single-clicks."So this would necessitate me to use double-clicking... ? (which could get "tiring" quickly...)So my questions are ...(1) Which method would be preferred here that would ideally only need one click?(2) Can this method be combined with a hovering effect? (although that's of secondary importance)Thanks! Edited December 3, 2015 by Guy_
LarsJ Posted December 4, 2015 Posted December 4, 2015 (edited) 1) You can easily catch single clicks in a listbox, but you have to respond to WM_COMMAND messages. See example for _GUICtrlListBox_Create in helpfile and watch the event that's fired for a single click.2) I think this is possible. Take a look at _WinAPI_TrackMouseEvent. Edited December 4, 2015 by LarsJ Guy_ 1 Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions
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