Connecting Tech Pros Worldwide Forums | Help | Site Map

Post Message

Despin
Guest
 
Posts: n/a
#1: Jul 22 '05
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?

Lionel B
Guest
 
Posts: n/a
#2: Jul 22 '05

re: Post Message


Despin wrote:[color=blue]
> 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?[/color]

Posting to this newsgroup. See:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
then maybe try:

comp.os.ms-windows.programmer.misc

--
Lionel B

Closed Thread