Post Message

D

Despin

I have two Documents in my VC++ Application. These two documents
should correspond with each other (only parse one or two parameters).
I would like to use PostMessage for communication. I allready declared
some Usermessages with the Class-Wizard for the Two Documents. The
Messages are recieved correct (I tested it with a Menuitem to send the
Message).
Know I would like to know, how can I send these Messages to the
Documents using PostMessage?

::postMessage(HWND_BROADCAST,ID_GET_DOCUMENT_TITEL,m_title,0);

What am I doing wrong?
 
L

Lionel B

Despin said:
I have two Documents in my VC++ Application. These two documents
should correspond with each other (only parse one or two parameters).
I would like to use PostMessage for communication. I allready
declared some Usermessages with the Class-Wizard for the Two
Documents. The Messages are recieved correct (I tested it with a
Menuitem to send the Message).
Know I would like to know, how can I send these Messages to the
Documents using PostMessage?

::postMessage(HWND_BROADCAST,ID_GET_DOCUMENT_TITEL,m_title,0);

What am I doing wrong?

Posting to this newsgroup. See:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
then maybe try:

comp.os.ms-windows.programmer.misc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,184
Messages
2,570,973
Members
47,528
Latest member
AnaHawley8

Latest Threads

Top