Listview Checkboxes

Started by John Messingham, October 08, 2004, 07:35:45 PM

Previous topic - Next topic

John Messingham

Hi,

Is there a way to programatically check a listview item?

Many Thanks
John Messingham

Roger Garstang

Yes, it isn't as clean as other options, but there is an example on PB's site and maybe even the web.  It involves using a mask and other weirdness.

I use the API Macros like ListView_GetCheckState(HWND_ListView, index), ListView_SetCheckState(HWND_ListView, index, bCheck), etc.

John Messingham


John Messingham

Hi,

As I am on a learning curve with PowerBasic, where can I get details of API Macros.


John Messingham

Cheers Paul,

I will do some delving, I have been in the VB shell for to long.