Home page Home page Home page Home page
Pixel
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel
Pixel
By Captain C | Monday, 12 July 2010 11:14 | 0 Comments
There's a quick way to select or deselect all rows in a multi-select edit table, and that's via the DTM_SELALLROWS message. It takes a single wParam argument which is TRUE$ to select all rows, or FALSE$ to deselect them.

Here's an example:


   $insert logical
   equ DTM_SELALLROWS$ to 1085 ; * // ( WM_USER + 61 )
   
   hwndEdt = get_Property( @window : ".TABLE_1", "HANDLE" )
   
   * // Select all rows....
   call sendMessage( hwndEdt, DTM_SELALLROWS$, TRUE$, 0 )
   
   * // Deselect all rows....
   call sendMessage( hwndEdt, DTM_SELALLROWS$, FALSE$, 0 )


Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home

Pixel
Pixel Footer R1 C1 Pixel
Pixel
Pixel
Pixel