PC Review


Reply
Thread Tools Rate Thread

Application Activate Problem

 
 
Y.Aykut ERGİN
Guest
Posts: n/a
 
      15th Jun 2005
Hi,

First of all I really don't know where to post this problem,
excuse me and please direct me to the right newsgroup.

We develope multiprocessing application on windows 2000 and XP os for the
mentioned project.
We use Borland C++ Builder 6.0.

As a summary our problem:

Let's suppose we have multi processes running.( initialization and creation
of processes have no problem)

processA window visible enabled.
processB window visible disabled.

1.The active processA sends a WM_CUSTOMER message to an other processB.
2.processA window visible disabled.
3.When processB gets the message, creates and show the form.
4.FORM SEVERALLY OPENS INACTIVE

then we try some scenorias to correct this problem but we can't achieve to
handle this problem.
Scenarios we tried shown below;

1.processA sends first WM_CUSTOMER and then WM_SETFOCUS messages to
processB, but form still opens inactive.
2.processA sends WM_CUSTOMER and then when processB receives theWM_CUSTOMER
message, it sends WM_SETFOCUS to itself but form still opens inactive.
3.processA sends first WM_CUSTOMER and then WM_ACTIVATEAPP messages to
processB, but form still opens inactive.
4.processA sends WM_CUSTOMER and then when processB receives theWM_CUSTOMER
message, it sends WM_ACTIVATEAPP to itself but form still opens inactive.
5.processA sends first WM_CUSTOMER and then WM_ACTIVATE messages to
processB, but form still opens inactive.
6.processA sends WM_CUSTOMER and then when processB receives theWM_CUSTOMER
message, it sends WM_ACTIVATE to itself but form still opens inactive.

Any help is greatly appreciated.

Best regards,.
Aykut ERGİN
Universal MSDN Member










 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbook.Activate / Window.Activate problem Tim Microsoft Excel Programming 3 3rd Feb 2006 11:38 PM
Application Agent will not activate LONESTARFE Spyware Discussion 2 16th Jul 2005 08:00 AM
Re: how to activate an application Jared Microsoft Dot NET 1 6th Oct 2004 01:21 PM
how to activate application =?Utf-8?B?TGFyc0o=?= Microsoft Dot NET 1 15th Sep 2004 04:53 PM
how to activate an application? zhou Microsoft C# .NET 5 17th Jun 2004 07:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 AM.