LB_GETSELITEMS

LB_GETSELITEMS - C - Programmation

Marsh Posté le 13-07-2005 à 15:37:56    

Bonjour,
Dans une liste a selection multiple le programme appelant emet le message
SendMessage (hstatic1, LB_GETSELITEMS, 10, tabindex);  --->(int tabindex[10];)
 
 
Dans ma DLL au traitement du message "LB_GETSELITEMS" comment puis je renvoyer dans lParam le tableau des items selectionnés pour le retrouver dans "tabindex" ?
case LB_GETSELITEMS  :
      lpGrid = (GRID *)GetWindowLong(hwnd,0);
   if (wParam <= 0)
    return(LB_ERR);
             MaxItem = (UINT)wParam;
 
                .....
           ...............
 
 return (0L);
 
Merci d'avance.

Reply

Marsh Posté le 13-07-2005 à 15:37:56   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed