Link to home
Start Free TrialLog in
Avatar of longhugo
longhugo

asked on

Application.BringToFront / Distribution

Hi,

I hope someone can help me out with this:

My programm lists some items. With a double click on a selected item,
the item is being transfered into a ms-word document. The "normal" Windows
behaviour would cause my programm to drop into background - a taskbar entry
remains...To bring my application back into business i used the
Application.BringToFront Command. This works fine so far. But - it
only works with my developement workstation. if i install my programm
on another PC, without the delphi environment, the application is not
"breaking through". It stays in the background - the taskbar entry is
blinking.

What is wrong - is there a special BPL, that i have to install?
or what could it be?

any hint would be fantastic!






Avatar of Igor UL7AAjr
Igor UL7AAjr
Flag of Kazakhstan image

Hi longhugo
I think that is not issue of Delphi environment, it looks like you have different Windows versions (W98 and W2K)
Avatar of longhugo
longhugo

ASKER

Hi ITugay,
no - both systems are Win98SE :(
Hi.

Does this solve your problem?
-> http://www.swissdelphicenter.ch/en/showcode.php?id=261

Markus
There was a setting somewhere (in Windows) to prevent applications to steal the focus.

See at Explorer options, or TweakUI tool

Bojidar Alexandrov
Bojidar,

do you know where i can find the settings exactly?

longhugo
Get TweakUI - tool from Microsoft
On General Page.
Doesn't work (tried HKAY_LOCAL_USER\Control Panel\Desktop with ForegroundLockTimeout=0 (bin))

any other ideas?
ASKER CERTIFIED SOLUTION
Avatar of mocarts
mocarts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thx - u r the best