Click here to Skip to main content
15,915,863 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File count Pin
projectip23-Jun-08 23:22
projectip23-Jun-08 23:22 
GeneralRe: File count Pin
Naveen24-Jun-08 14:52
Naveen24-Jun-08 14:52 
GeneralRe: File count Pin
projectip25-Jun-08 1:10
projectip25-Jun-08 1:10 
GeneralRe: File count Pin
David Crow24-Jun-08 3:08
David Crow24-Jun-08 3:08 
GeneralRe: File count Pin
Rajesh R Subramanian23-Jun-08 19:49
professionalRajesh R Subramanian23-Jun-08 19:49 
QuestionHow to draw graph chart in Visual Studio ? S O S Pin
ttarantula23-Jun-08 16:59
ttarantula23-Jun-08 16:59 
AnswerRe: How to draw graph chart in Visual Studio ? S O S Pin
Hamid_RT23-Jun-08 18:36
Hamid_RT23-Jun-08 18:36 
QuestionPostMessage problem Pin
tataxin23-Jun-08 16:15
tataxin23-Jun-08 16:15 
I want to send a string between 2 dialog. So I try to use SendMessage() with WM_COPYDATA message
Here is the code in send dialog
COPYDATASTRUCT cds;
.... // insert data here

::SendMessage(hWnd, WM_COPYDATA, (WPARAM) m_hWnd, (LPARAM) &cds );


And receive dialog code:
BEGIN_MESSAGE_MAP(RcvDlg, CDialog)
        .....
	ON_WM_COPYDATA()
END_MESSAGE_MAP()

BOOL RcvDlg::OnCopyData(){
... // get data here
}


It works, but while sending messeage, it locks the send dialog. So I want to change to another way, PostMessage. But I don't know how to implement. I tried to look on the internet, but cannot find what I want.
Can anyone help me? Thanks in advance, Smile | :)
AnswerRe: PostMessage problem Pin
Naveen23-Jun-08 17:41
Naveen23-Jun-08 17:41 
GeneralRe: PostMessage problem Pin
tataxin23-Jun-08 18:22
tataxin23-Jun-08 18:22 
GeneralRe: PostMessage problem Pin
Naveen23-Jun-08 18:46
Naveen23-Jun-08 18:46 
GeneralRe: PostMessage problem Pin
tataxin24-Jun-08 14:41
tataxin24-Jun-08 14:41 
AnswerRe: PostMessage problem Pin
Hamid_RT23-Jun-08 18:38
Hamid_RT23-Jun-08 18:38 
AnswerRe: PostMessage problem Pin
Jijo.Raj23-Jun-08 18:57
Jijo.Raj23-Jun-08 18:57 
AnswerRe: PostMessage problem Pin
tataxin23-Jun-08 19:26
tataxin23-Jun-08 19:26 
AnswerRe: PostMessage problem [modified] Pin
bonkers23-Jun-08 20:42
bonkers23-Jun-08 20:42 
GeneralRe: PostMessage problem Pin
tataxin24-Jun-08 14:46
tataxin24-Jun-08 14:46 
Questionwhat ALL gets created by an empty class? (c++) Pin
dd31415923-Jun-08 8:27
dd31415923-Jun-08 8:27 
AnswerRe: what ALL gets created by an empty class? (c++) Pin
David Crow23-Jun-08 9:00
David Crow23-Jun-08 9:00 
GeneralRe: what ALL gets created by an empty class? (c++) Pin
dd31415923-Jun-08 9:31
dd31415923-Jun-08 9:31 
AnswerRe: what ALL gets created by an empty class? (c++) Pin
Jijo.Raj23-Jun-08 9:06
Jijo.Raj23-Jun-08 9:06 
GeneralRe: what ALL gets created by an empty class? (c++) Pin
dd31415923-Jun-08 9:31
dd31415923-Jun-08 9:31 
QuestionHELP WITH WINSOCK PROGRAMMING Pin
bodhi201623-Jun-08 8:25
bodhi201623-Jun-08 8:25 
AnswerRe: HELP WITH WINSOCK PROGRAMMING Pin
bulg23-Jun-08 11:55
bulg23-Jun-08 11:55 
AnswerRe: HELP WITH WINSOCK PROGRAMMING Pin
Stephen Hewitt23-Jun-08 14:25
Stephen Hewitt23-Jun-08 14:25 

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.