Michael Aivaliotis Posted January 16, 2007 Report Share Posted January 16, 2007 I need a way to get the current mouse cursor type. Is there any way to do this in LabVIEW? I need this because I want to know when a user's mouse is hovering over the divider between two columns of a multicolumn listbox. I figure that if there was a way to detect the cursor change then this would be a good indicator. Quote Link to comment
Ton Plomp Posted January 16, 2007 Report Share Posted January 16, 2007 I need a way to get the current mouse cursor type. Is there any way to do this in LabVIEW? I need this because I want to know when a user's mouse is hovering over the divider between two columns of a multicolumn listbox. I figure that if there was a way to detect the cursor change then this would be a good indicator. You could use the previous cursor ID, and set it directly back. A lookup table can be made with this code: But what about the point to row with a divider width of 3 pixels? It's still not ideal but should be better. Ton Quote Link to comment
Yair Posted January 16, 2007 Report Share Posted January 16, 2007 You could potentially use the Windows function CopyImage, but that looks like a bad solution to me. I think I would also go with something along the lines of Ton's suggestion of calculating the position based on the column widths. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.