Click here to Skip to main content
15,892,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion on Listbox with tooltip support Pin
mckavity31-Oct-05 6:55
mckavity31-Oct-05 6:55 
AnswerRe: Question on Listbox with tooltip support Pin
Chris Losinger31-Oct-05 8:05
professionalChris Losinger31-Oct-05 8:05 
GeneralRe: Question on Listbox with tooltip support Pin
mckavity31-Oct-05 9:11
mckavity31-Oct-05 9:11 
QuestionEditBox & Enter Pin
IndrekSnt31-Oct-05 6:02
IndrekSnt31-Oct-05 6:02 
AnswerRe: EditBox & Enter Pin
Shay Harel31-Oct-05 6:11
Shay Harel31-Oct-05 6:11 
GeneralRe: EditBox & Enter Pin
IndrekSnt31-Oct-05 7:37
IndrekSnt31-Oct-05 7:37 
GeneralRe: EditBox & Enter Pin
willy_total31-Oct-05 8:41
willy_total31-Oct-05 8:41 
QuestionRe: EditBox & Enter Pin
IndrekSnt1-Nov-05 9:35
IndrekSnt1-Nov-05 9:35 
and with message WM_COMMAND and switch (LOWORD(wParam)) ?
Why could if( hWndChild != GetDlgItem(hWnd, IDOK) ) be needed if the second one checks for a window in focus?

With this switch i get a notification even if user clicks on the editbox.
Is it possible to check HIWORD(wParam) for a mouseclick when the control is an editbox?

Do i have to use ES_MULTILINE | ES_WANTRETURN flags when creating the editbox in order to make the control even receive a notification about Enter?
Unfortunately i see no changes after adding these flags..
WinInf.EditBox = CreateWindow ("edit", "", WS_CHILD | WS_VISIBLE | <br />
                               ES_LEFT | ES_NOHIDESEL | ES_MULTILINE | ES_WANTRETURN,<br />
                               WinInf.ClientRect.left + 2,<br />
                               WinInf.ClientRect.bottom - 20,<br />
                               WinInf.ClientRect.right - 4, <br />
                               20,<br />
                               hwnd, (HMENU) 1, WinInf.hInst,<br />
                               NULL);


All suggestions are welcome,
Thank You..
AnswerRe: EditBox &amp;amp;amp;amp;amp;amp; Enter Pin
willy_total2-Nov-05 3:42
willy_total2-Nov-05 3:42 
QuestionWav file and Avi file in one ??? Pin
REU31-Oct-05 4:53
REU31-Oct-05 4:53 
AnswerRe: Wav file and Avi file in one ??? Pin
Mircea Puiu31-Oct-05 8:39
Mircea Puiu31-Oct-05 8:39 
AnswerRe: Wav file and Avi file in one ??? Pin
LighthouseJ31-Oct-05 9:32
LighthouseJ31-Oct-05 9:32 
QuestionMemory Leak detection Pin
Shay Harel31-Oct-05 4:40
Shay Harel31-Oct-05 4:40 
AnswerRe: Memory Leak detection Pin
David Crow31-Oct-05 5:15
David Crow31-Oct-05 5:15 
GeneralRe: Memory Leak detection Pin
Shay Harel31-Oct-05 5:30
Shay Harel31-Oct-05 5:30 
GeneralRe: Memory Leak detection Pin
toxcct31-Oct-05 5:43
toxcct31-Oct-05 5:43 
GeneralRe: Memory Leak detection Pin
Shay Harel31-Oct-05 5:47
Shay Harel31-Oct-05 5:47 
GeneralRe: Memory Leak detection Pin
toxcct31-Oct-05 5:51
toxcct31-Oct-05 5:51 
GeneralRe: Memory Leak detection Pin
Shay Harel31-Oct-05 5:56
Shay Harel31-Oct-05 5:56 
GeneralRe: Memory Leak detection Pin
Ravi Bhavnani31-Oct-05 8:59
professionalRavi Bhavnani31-Oct-05 8:59 
AnswerRe: Memory Leak detection Pin
Blake Miller31-Oct-05 6:00
Blake Miller31-Oct-05 6:00 
GeneralRe: Memory Leak detection Pin
Shay Harel31-Oct-05 6:07
Shay Harel31-Oct-05 6:07 
AnswerRe: Memory Leak detection Pin
vgrigor131-Oct-05 6:41
vgrigor131-Oct-05 6:41 
AnswerRe: Memory Leak detection Pin
LighthouseJ31-Oct-05 9:26
LighthouseJ31-Oct-05 9:26 
GeneralRe: Memory Leak detection Pin
James R. Twine1-Nov-05 4:08
James R. Twine1-Nov-05 4:08 

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.