|
-
May 19th, 1999, 05:14 AM
#1
How can I select one row of a list control ?
Hi,
I want to select ( and set the focus ) to one row of the list control, I have tried this:
m_lcInfotype.SetItemState(iIndex,LVIS_FOCUSED|LVIS_SELECTED,LVIF_STATE);
But don't work, anybody can give me an idea ?, Thanks, Bye !
Braulio
-
May 19th, 1999, 05:21 AM
#2
Re: How can I select one row of a list control ?
MyListCtrl.SetItemState (0, LVIS_SELECTED | LVIS_FOCUSED,LVIS_SELECTED | LVIS_FOCUSED);
-
May 19th, 1999, 05:23 AM
#3
Re: How can I select one row of a list control ?
Look at CListViewEx in the ROWLIST sample in the VC++ help.
Jack Shainsky
Jerusalem, Israel.
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|