Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRemoving caret/cursor from listbox on selection change Pin
ComplexLifeForm9-Jul-07 0:31
ComplexLifeForm9-Jul-07 0:31 
QuestionRe: Removing caret/cursor from listbox on selection change Pin
Mark Salsbery9-Jul-07 8:36
Mark Salsbery9-Jul-07 8:36 
AnswerRe: Removing caret/cursor from listbox on selection change Pin
ComplexLifeForm10-Jul-07 0:32
ComplexLifeForm10-Jul-07 0:32 
GeneralRe: Removing caret/cursor from listbox on selection change Pin
Mark Salsbery10-Jul-07 5:49
Mark Salsbery10-Jul-07 5:49 
GeneralRe: Removing caret/cursor from listbox on selection change Pin
ComplexLifeForm10-Jul-07 6:41
ComplexLifeForm10-Jul-07 6:41 
GeneralRe: Removing caret/cursor from listbox on selection change Pin
Mark Salsbery10-Jul-07 7:00
Mark Salsbery10-Jul-07 7:00 
GeneralRe: Removing caret/cursor from listbox on selection change Pin
ComplexLifeForm10-Jul-07 8:26
ComplexLifeForm10-Jul-07 8:26 
GeneralRe: Removing caret/cursor from listbox on selection change Pin
Mark Salsbery10-Jul-07 9:28
Mark Salsbery10-Jul-07 9:28 
The docs for the control mention the caret but I think it's silly on a control that you can't
enter text Smile | :)

WM_SETFOCUS Turns the caret on and sends an LBN_SETFOCUS notification message to the owner of the
list box.
WM_KILLFOCUS Turns the caret off and destroys it. Sends an LBN_KILLFOCUS notification message to
the owner of the list box.
WM_KEYDOWN Processes virtual keys for scrolling. The virtual key is the index of the item to move
the caret to. The selection is not changed.

Cheers,
Mark


Mark Salsbery
Microsoft MVP - Visual C++


This episode brought to you by the letter Z

GeneralRe: Removing caret/cursor from listbox on selection change Pin
ComplexLifeForm11-Jul-07 4:59
ComplexLifeForm11-Jul-07 4:59 
QuestionCString to GUID Pin
Ohad Cabiri8-Jul-07 22:15
Ohad Cabiri8-Jul-07 22:15 
AnswerRe: CString to GUID Pin
CPallini8-Jul-07 22:23
mveCPallini8-Jul-07 22:23 
GeneralRe: CString to GUID Pin
Ohad Cabiri8-Jul-07 22:26
Ohad Cabiri8-Jul-07 22:26 
GeneralRe: Linkage Error ! Pin
Ohad Cabiri8-Jul-07 22:42
Ohad Cabiri8-Jul-07 22:42 
GeneralRe: Linkage Error ! Pin
CPallini8-Jul-07 22:47
mveCPallini8-Jul-07 22:47 
GeneralRe: Linkage Error ! Pin
Naveen8-Jul-07 22:47
Naveen8-Jul-07 22:47 
AnswerRe: Linkage Error ! Pin
Rajkumar R8-Jul-07 22:47
Rajkumar R8-Jul-07 22:47 
AnswerThanks you all. Its working OK. Pin
Ohad Cabiri8-Jul-07 23:21
Ohad Cabiri8-Jul-07 23:21 
QuestionOLEDB + Date [modified] Pin
Try8-Jul-07 21:09
Try8-Jul-07 21:09 
AnswerRe: OLEDB + Date Pin
Steve S9-Jul-07 2:57
Steve S9-Jul-07 2:57 
GeneralRe: OLEDB + Date Pin
Try9-Jul-07 3:11
Try9-Jul-07 3:11 
QuestionWhy can't input Arabic? Pin
Peter, Chan8-Jul-07 20:22
Peter, Chan8-Jul-07 20:22 
AnswerRe: Why can't input Arabic? Pin
Hamid_RT8-Jul-07 20:38
Hamid_RT8-Jul-07 20:38 
AnswerRe: Why can't input Arabic? Pin
Ram Murali8-Jul-07 20:44
Ram Murali8-Jul-07 20:44 
GeneralRe: Why can't input Arabic? Pin
Hamid_RT8-Jul-07 20:54
Hamid_RT8-Jul-07 20:54 
AnswerRe: Why can't input Arabic? Pin
Naveen8-Jul-07 20:44
Naveen8-Jul-07 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.