Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Trouble with CMapStringToOb! Pin
prasad_som6-Oct-06 3:52
prasad_som6-Oct-06 3:52 
AnswerRe: Trouble with CMapStringToOb! Pin
benjymous6-Oct-06 1:22
benjymous6-Oct-06 1:22 
GeneralRe: Trouble with CMapStringToOb! Pin
bosfan6-Oct-06 1:46
bosfan6-Oct-06 1:46 
GeneralRe: Trouble with CMapStringToOb! Pin
bosfan6-Oct-06 2:01
bosfan6-Oct-06 2:01 
GeneralRe: Trouble with CMapStringToOb! Pin
benjymous6-Oct-06 4:42
benjymous6-Oct-06 4:42 
GeneralRe: Trouble with CMapStringToOb! Pin
bosfan6-Oct-06 7:38
bosfan6-Oct-06 7:38 
QuestionSending Messages Pin
baerten6-Oct-06 0:55
baerten6-Oct-06 0:55 
AnswerRe: Sending Messages Pin
ctodor6-Oct-06 1:33
ctodor6-Oct-06 1:33 
BN_CLICKED is not a message, it is notification code and should be sent through WM_COMMAND message.
e.g.

WPARAM wParam = (WPARAM)(((WORD)BN_CLICKED << 16) | ((WORD)GetDlgCtrlID()));
GetParent()->SendMessage(WM_COMMAND, wParam, (LPARAM)m_hWnd);
where m_hWnd is the HWND of the control and GetDlgCtrlID() returns the id of the control.

The message arrives to that CWnd you sent it. In your situation, you send the message to MyTaskPanel, so MyTaskPanel should process the message. If you want to send a message to other CWnd object , you should call SendMmessage fct. for that object : pMyView->SendMessage(...)
QuestionRe: Sending Messages Pin
baerten6-Oct-06 2:44
baerten6-Oct-06 2:44 
AnswerRe: Sending Messages Pin
krmed6-Oct-06 7:09
krmed6-Oct-06 7:09 
AnswerRe: Sending Messages Pin
baerten8-Oct-06 21:20
baerten8-Oct-06 21:20 
Questionmigrating to .NET 2003 from visual studio 6.0 problem Pin
harsha_12346-Oct-06 0:12
harsha_12346-Oct-06 0:12 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
_AnsHUMAN_ 6-Oct-06 0:24
_AnsHUMAN_ 6-Oct-06 0:24 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
Rajesh R Subramanian6-Oct-06 0:28
professionalRajesh R Subramanian6-Oct-06 0:28 
GeneralRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
toxcct6-Oct-06 0:32
toxcct6-Oct-06 0:32 
GeneralRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
Rajesh R Subramanian6-Oct-06 1:13
professionalRajesh R Subramanian6-Oct-06 1:13 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
toxcct6-Oct-06 0:35
toxcct6-Oct-06 0:35 
GeneralRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
harsha_12346-Oct-06 0:48
harsha_12346-Oct-06 0:48 
GeneralRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
Hamid_RT6-Oct-06 19:36
Hamid_RT6-Oct-06 19:36 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
prasad_som6-Oct-06 0:42
prasad_som6-Oct-06 0:42 
AnswerRe: migrating to .NET 2003 from visual studio 6.0 problem Pin
bmzhao6-Oct-06 2:50
bmzhao6-Oct-06 2:50 
QuestionHow to get copy message? Pin
<color>Aljechin 6-Oct-06 0:00
<color>Aljechin 6-Oct-06 0:00 
AnswerRe: How to get copy message? Pin
Michael Dunn6-Oct-06 4:32
sitebuilderMichael Dunn6-Oct-06 4:32 
GeneralRe: How to get copy message? Pin
<color>Aljechin 6-Oct-06 20:06
<color>Aljechin 6-Oct-06 20:06 
GeneralRe: How to get copy message? Pin
Michael Dunn6-Oct-06 20:18
sitebuilderMichael Dunn6-Oct-06 20:18 

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.