PB5.62 64 bit, Windows 7.
A ListIcongadget with the flag #PB_ListIcon_AlwaysShowSelection has an identical behaviour to one without it.
The second example from the help file page demonstrates the problem.
#PB_ListIcon_AlwaysShowSelection has no effect
- Michael Vogel
- Addict
- Posts: 2680
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: #PB_ListIcon_AlwaysShowSelection has no effect
Works as expected here (at least with PB5.61):
- if no item has been selected, there's no visible cursor
- this will change as soon an item has been selected (just insert something like SetGadgetState(4,1) to the example file)
- depending on your windows theme, you might see only a very light colored cursor when the gadget doesn't have the keyboard focus
- if no item has been selected, there's no visible cursor
- this will change as soon an item has been selected (just insert something like SetGadgetState(4,1) to the example file)
- depending on your windows theme, you might see only a very light colored cursor when the gadget doesn't have the keyboard focus
Re: #PB_ListIcon_AlwaysShowSelection has no effect
Never mind, it seems to be a Windows problem not a PureBasic one. The controls are getting the LVS_SHOWSELALWAYS style - but it doesn't actually do anything about it, on my pc at least.
- Michael Vogel
- Addict
- Posts: 2680
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: #PB_ListIcon_AlwaysShowSelection has no effect
No problem, had also a special windows experience some weeks ago. Maybe a simple restart of windows could help...