[Lazarus] How to bring application to from (top)

Tommi Prami groups.tprami at gmail.com
Mon Jul 11 05:14:15 CEST 2011


On 8.7.2011 21:39, Sven Barth wrote:
> On 08.07.2011 19:23, Tommi Prami wrote:
>>
>>> SetForegroundWindow(Screen.ActiveForm.Handle);
>>>
>>
>> I think that at least in Windows XP the system will block the App from
>> coming into the Front.
>>
>> Othervice it would work. Have to test this on Windows Mobile also,...
>
> Well... as you said it's for Windows Mobile (or WinCE to be precisely) 
> I've posted a solution for that. On desktop Windows I've never needed 
> that functionality yet, cause I personally dislike it when an 
> application jumps to front when I don't want it to. Thus I prefer the 
> blinking solution there.

Seems to work...

Thanks...

-TP-




More information about the Lazarus mailing list