and then SetItemState(...). if the focuse isn't on this control, it will not show the selected item.
S
Sophiya Chen
@Sophiya Chen
Posts
-
Show selected rows in ListCtrl -
Show selected rows in ListCtrlit should set focuse on this ListCtrl,may be focuse problem. you can try!! :)
-
CListBoxCedric Moonen is right,it's better that UI put in the UI thread.generate data in other thread. :-D
-
Assign Hotkey to Explorerbar?Hi,i don't know what is FindBar. but you can use PreTranslateMessage(MSG *pMsg) to get the keybord. :)
-
Getting child windows handlehi,you'd better get the window handle from one variable. the dialog title may be not right in this course.
-
A dialog with button controls does not have focus OnKeyDownhi,get the key message use PreTranslateMessage() function. you can try..