Click here to Skip to main content
15,913,570 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VS6: Enabling breakpoints per thread Pin
David Crow15-Nov-05 7:22
David Crow15-Nov-05 7:22 
QuestionLNK2001 error Pin
yongwpi15-Nov-05 4:50
yongwpi15-Nov-05 4:50 
QuestionRe: LNK2001 error Pin
David Crow15-Nov-05 4:55
David Crow15-Nov-05 4:55 
AnswerRe: LNK2001 error Pin
Michael Dunn15-Nov-05 8:25
sitebuilderMichael Dunn15-Nov-05 8:25 
Questionhow to retrieve a HANDLE from a pointer? Pin
ewighell15-Nov-05 4:49
ewighell15-Nov-05 4:49 
QuestionRe: how to retrieve a HANDLE from a pointer? Pin
David Crow15-Nov-05 4:57
David Crow15-Nov-05 4:57 
AnswerRe: how to retrieve a HANDLE from a pointer? Pin
ewighell15-Nov-05 15:44
ewighell15-Nov-05 15:44 
GeneralRe: how to retrieve a HANDLE from a pointer? Pin
Steen Krogsgaard15-Nov-05 22:44
Steen Krogsgaard15-Nov-05 22:44 
First, you don't need to get the HWND. You can just call pEdit->SendMessage(msg, wparam, lparam).

But, it won't work in your case. BN_CLICKED is a notification send by the button to its parent, not the other way aroiund . And it's not a BN_CLICKED message, it's a WM_COMMAND message with BN_CLICKED encoded in its WPARAM parameter (see MSDN for details).

What do you want to accomplish?

Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
AnswerRe: how to retrieve a HANDLE from a pointer? Pin
Cedric Moonen15-Nov-05 5:02
Cedric Moonen15-Nov-05 5:02 
Questiondebugging locals not matching Pin
simaneal15-Nov-05 3:35
simaneal15-Nov-05 3:35 
AnswerRe: debugging locals not matching Pin
Russell'15-Nov-05 3:50
Russell'15-Nov-05 3:50 
AnswerRe: debugging locals not matching Pin
Cedric Moonen15-Nov-05 3:51
Cedric Moonen15-Nov-05 3:51 
GeneralRe: debugging locals not matching Pin
simaneal15-Nov-05 4:22
simaneal15-Nov-05 4:22 
GeneralRe: debugging locals not matching Pin
Russell'15-Nov-05 4:41
Russell'15-Nov-05 4:41 
GeneralRe: debugging locals not matching Pin
simaneal15-Nov-05 5:01
simaneal15-Nov-05 5:01 
GeneralRe: debugging locals not matching Pin
Russell'15-Nov-05 5:10
Russell'15-Nov-05 5:10 
QuestionRe: debugging locals not matching Pin
David Crow15-Nov-05 5:02
David Crow15-Nov-05 5:02 
QuestionEditor-debugger setup Pin
Russell'15-Nov-05 3:26
Russell'15-Nov-05 3:26 
AnswerRe: Editor-debugger setup Pin
douglasjordan15-Nov-05 3:30
douglasjordan15-Nov-05 3:30 
GeneralRe: Editor-debugger setup Pin
Russell'15-Nov-05 4:07
Russell'15-Nov-05 4:07 
Questionshared memory Pin
Naveen15-Nov-05 2:38
Naveen15-Nov-05 2:38 
AnswerRe: shared memory Pin
Blake Miller15-Nov-05 10:25
Blake Miller15-Nov-05 10:25 
QuestionHow can I put characters directly into the keyboard buffer? Pin
reinhard_jd15-Nov-05 2:24
reinhard_jd15-Nov-05 2:24 
AnswerRe: How can I put characters directly into the keyboard buffer? Pin
douglasjordan15-Nov-05 2:42
douglasjordan15-Nov-05 2:42 
AnswerRe: How can I put characters directly into the keyboard buffer? Pin
Cedric Moonen15-Nov-05 2:50
Cedric Moonen15-Nov-05 2:50 

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.