Thanks for the tips.

----- Original Message -----
From: "logman0u812" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 17, 2006 11:51 AM
Subject: Re: [delphi-en] How to have a form that nerver 'activates'.


> CreateParams will make the form non focusable.
> also take a look at msdn
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
/windowsuserinterface/windowing/windows/windowreference/windowfunctions/crea
tewindowex.asp
>
> hope this helps...
>
> type
>   TForm1 = class(TForm)
>   private
>     { Private declarations }
>   protected
>     procedure CreateParams(var Params: TCreateParams); override;
>   public
>     { Public declarations }
>   end;
>
> procedure TForm1.CreateParams(var Params: TCreateParams);
> const
>   WS_EX_NOACTIVATE = $8000000;
> begin
>   inherited;
>   Params.ExStyle := Params.ExStyle + WS_EX_NOACTIVATE;
> end;
>
> Christian Labrie <[EMAIL PROTECTED]> wrote:     Let me
demonstrate, take the Microsoft virtual keyboard : START MENU,
>  Accessories, Accessibility, On screen keyboard.
>
>  The form seems to float on top of everything, but never get focused, she
>  never seems to be activated.
>
>  Anyone ever done this?
>  Any idea how?
>
>  Any sample code would be appreciated.
>
>  Thanks
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail  makes sharing a breeze.
>
> [Non-text portions of this message have been removed]
>
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [EMAIL PROTECTED]
> Yahoo! Groups Links
>
>
>
>
>
>
>




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to