Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages
Started by Nate Lockwood
Fri, 24 Feb 2006 22:34
PostMessage not being received
Author: Nate Lockwood
Date: Fri, 24 Feb 2006 22:34
Date: Fri, 24 Feb 2006 22:34
19 lines
1361 bytes
1361 bytes
After determining that there is another instance of the application
running I try to post a message but I'm not receiving it.
String sMessage = "USDA.FS.FireScience.GooleEarthTool.Awake";
WM_MYMSG = RegisterWindowMessage(sMessage.c_str());
and then
void __fastcall TFormMain::WndProc(TMessage& message)
{
if(message.Msg == WM_MYMSG)
FormMain->Show();
else
TForm::WndProc(message); //pass on to parent
}
Is this right? Do I need to implement a message map?
Nate
Re: PostMessage not being received
Author: Remy Lebeau (TeamB)
Date: Fri, 24 Feb 2006 23:31
Date: Fri, 24 Feb 2006 23:31
12 lines
1179 bytes
1179 bytes
"Nate Lockwood" <RNLockwoodREMOVE@attglobal.net> wrote in message news:43ff8a0d$1@newsgroups.borland.com... > After determining that there is another instance of the > application running I try to post a message but I'm not > receiving it. I already addressed that issue in the other discussion. Gambit
Re: PostMessage not being received
Author: Nate Lockwood
Date: Fri, 24 Feb 2006 23:41
Date: Fri, 24 Feb 2006 23:41
10 lines
1206 bytes
1206 bytes
Remy Lebeau (TeamB) wrote: > > I already addressed that issue in the other discussion. > Must have passed each other in the aether, Thanks
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads