|
-
September 3rd, 1999, 06:30 AM
#1
Still trying to highlight a ListCtrl
I have a listctrl within my dialog box, yet have tried many times to highlight the first item in the list ( index 0 ).
I place the functions in the OnInitdialog part of my code,yet still i have had no success.
I have currently tried
m_List.SetItemState( 0, LVIS_SELECTED | LVIS_FOCUSED, LVIS_SELECTED | LVIS_FOCUSED);
m_List.EnsureVisible( 0, FALSE);
Someone please tell me what I am doing wrong.
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
|