RE: List box highlighting

new topic     » topic index » view thread      » older message » newer message

Andy Drummond wrote:
> Another problem you experts might like to think about.
> I am selecting an item from a list box with the inverse-video highlight 
> bar, and then doing some editing of data. When I've done that and return 
> 
> to my list box, the highlight bar is just a thin dotted line round the 
> relevant item, and I can't find any way to make it a nice black bar 
> again till I move the selected line. It's not serious but it does make 
> the program look a bit odd and I know customers will wonder if they have 
> 
> done the right thing rather than just going on and selecting another 
> item.
> Andy.
> 
> 

Hi there,

The windows message LB_SETCURSEL  handles setting the currently
selected item in a list box.
There might a wrapped function for that also in the newest winlib.

--Al

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu