#PB_ListIcon_AlwaysShowSelection has no effect

Windows specific forum
User avatar
spikey
Enthusiast
Enthusiast
Posts: 586
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

#PB_ListIcon_AlwaysShowSelection has no effect

Post by spikey »

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.
User avatar
Michael Vogel
Addict
Addict
Posts: 2677
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: #PB_ListIcon_AlwaysShowSelection has no effect

Post by Michael Vogel »

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
User avatar
spikey
Enthusiast
Enthusiast
Posts: 586
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: #PB_ListIcon_AlwaysShowSelection has no effect

Post by spikey »

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.
User avatar
Michael Vogel
Addict
Addict
Posts: 2677
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: #PB_ListIcon_AlwaysShowSelection has no effect

Post by Michael Vogel »

No problem, had also a special windows experience some weeks ago. Maybe a simple restart of windows could help...
Post Reply