Click here to Skip to main content
15,917,862 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBitBLT question Pin
ForNow1-Jun-10 17:28
ForNow1-Jun-10 17:28 
AnswerRe: BitBLT question Pin
«_Superman_»1-Jun-10 20:08
professional«_Superman_»1-Jun-10 20:08 
GeneralRe: BitBLT question Pin
ForNow2-Jun-10 1:29
ForNow2-Jun-10 1:29 
GeneralRe: BitBLT question I think I have to paint into a memry DC Pin
ForNow2-Jun-10 6:47
ForNow2-Jun-10 6:47 
QuestionC++ Socket Number - duration of socket number in server program Pin
simon alec smith1-Jun-10 12:01
simon alec smith1-Jun-10 12:01 
AnswerRe: C++ Socket Number - duration of socket number in server program Pin
Moak1-Jun-10 22:27
Moak1-Jun-10 22:27 
QuestionSynchronise Contacts with Exchange Server Mailboxes Pin
Steve Thresher1-Jun-10 8:03
Steve Thresher1-Jun-10 8:03 
Questionmouse related Q Pin
a.k.a BT1-Jun-10 7:19
a.k.a BT1-Jun-10 7:19 
AnswerRe: mouse related Q Pin
Richard MacCutchan1-Jun-10 7:59
mveRichard MacCutchan1-Jun-10 7:59 
GeneralRe: mouse related Q Pin
a.k.a BT1-Jun-10 8:17
a.k.a BT1-Jun-10 8:17 
GeneralRe: mouse related Q Pin
a.k.a BT1-Jun-10 8:59
a.k.a BT1-Jun-10 8:59 
GeneralRe: mouse related Q Pin
Richard MacCutchan1-Jun-10 21:23
mveRichard MacCutchan1-Jun-10 21:23 
AnswerRe: mouse related Q Pin
Software_Developer1-Jun-10 8:59
Software_Developer1-Jun-10 8:59 
GeneralRe: mouse related Q Pin
a.k.a BT1-Jun-10 9:09
a.k.a BT1-Jun-10 9:09 
AnswerRe: mouse related Q Pin
Stephen Hewitt1-Jun-10 16:56
Stephen Hewitt1-Jun-10 16:56 
QuestionProblem with Modeless dialogs Pin
Sreenivas0031-Jun-10 5:28
Sreenivas0031-Jun-10 5:28 
AnswerRe: Problem with Modeless dialogs Pin
Sarath C1-Jun-10 14:37
Sarath C1-Jun-10 14:37 
QuestionChild Window Pin
john56321-Jun-10 4:20
john56321-Jun-10 4:20 
AnswerRe: Child Window Pin
Niklas L1-Jun-10 5:16
Niklas L1-Jun-10 5:16 
AnswerRe: Child Window [modified] Pin
Software_Developer1-Jun-10 9:02
Software_Developer1-Jun-10 9:02 
QuestionPrint text that looks hollow Pin
DanYELL1-Jun-10 4:19
DanYELL1-Jun-10 4:19 
AnswerRe: Print text that looks hollow Pin
Code-o-mat1-Jun-10 4:45
Code-o-mat1-Jun-10 4:45 
QuestionClicking on StatusBar Pin
Software20071-Jun-10 3:17
Software20071-Jun-10 3:17 
QuestionWM_COPYDATA not received by SDI application Pin
rp_suman1-Jun-10 2:48
rp_suman1-Jun-10 2:48 
AnswerRe: WM_COPYDATA not received by SDI application Pin
Aescleal1-Jun-10 3:19
Aescleal1-Jun-10 3:19 
The first question to resolve is...

- what window are you sending the WM_COPYDATA to?

If you do a FindWindow on an MFC SDI application by windows title you will find you've got the handle of the CMainFrame derived window, not the view window where generally all the interesting I/O happens.

One really clean way of using WM_COPYDATA is to create a "data copy target" window who's sole job is to recieve and process WM_COPYDATA. This window will be invisible and/or off screen so no one can interact with it.

Cheers,

Ash

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.