Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Multi-row selected in the grid Collapse All
Subject Author Date
mai mike Aug 2, 2007 - 9:32 AM

Dear:
When i selete several rows,such as i select row2, row3 and row6. How can i know how many rows i select ,and how can i know which exactly rows i selected? Because now i selected row2, row3 and row6, is there any methods to return these rows number?
Is there any methods i can use to implement the feature?

Thank you in advance

Mike.Mai

mai mike Aug 5, 2007 - 7:39 AM

Dear:
Thank you!
Which function should i put this code as bellow?
LONG nRowNo = wndGrid.SelectionGetFirstRowInColumn( nColNo );
while( nRowNo >= 0 )
{
. . .
nRowNo = wndGrid.SelectionGetNextRowInColumn( nColNo, nRowNo );
}

Thank you!
Mike

Technical Support Aug 6, 2007 - 8:11 AM

Yes, the message loop for traversing the selected rows in a column is correct.

Technical Support Aug 2, 2007 - 2:27 PM