Click here to Skip to main content
15,910,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVS6: Enabling breakpoints per thread Pin
Chintoo72315-Nov-05 6:04
Chintoo72315-Nov-05 6:04 
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 
I want to send a message with the function SendMessage(), it seems that some of its parameters are of type HWND.
I want to send a BN_CLICKED message to the button m_bn1, which is of type CButton with the following code, but it seems does not work, where am I wrong?

SendMessage(BN_CLICKED,IDC_BUTTON1,(LPARAM)m_bn1.GetSafeHwnd());


Thank you very much!!!

-------------------
I am learning C++ and English

-- modified at 21:47 Tuesday 15th November, 2005
GeneralRe: how to retrieve a HANDLE from a pointer? Pin
Steen Krogsgaard15-Nov-05 22:44
Steen Krogsgaard15-Nov-05 22:44 
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 

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.