Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Window (app) on top?

0 views
Skip to first unread message

DrDelphi

unread,
Sep 5, 2000, 2:19:54 AM9/5/00
to
Take a look at the SetWindowPos API...

----------------------------
Good luck!!
-DrDelphi
http://www.drdelphi.com
Rik. <rus...@bigfoot.com> wrote in message
news:3lVs5.211$P%3.4...@news1.dbsch1.nb.nl.home.com...
> D4
>
> how can i have my form3 be on-top, even if my app is not the active
> (most-front) app?
> I found code to do such thing but it still doesn't work..
>
> ie. when i'm browsing the net with Internet Explorer, I still want my
app's
> Form3 be on the foreground.
>
> Rik
>
>
>


Rik.

unread,
Sep 5, 2000, 2:57:02 AM9/5/00
to

"DrDelphi" <Delp...@DrDelphi.com> schreef in bericht
news:8p23j7$drh$1...@bob.news.rcn.net...

> Take a look at the SetWindowPos API...
>

with form3 do
SetWindowPos(Handle,
HWND_TOPMOST,
Left,
Top,
Width,
Height,
SWP_NOACTIVATE or SWP_NOMOVE or SWP_NOSIZE);

nor setting formstate to fsontop will work for me :(

May this be because i have the app state as sw_hide?

When I run Outlook Express for instance it simply pushes Form3 (and my app)
to the background..

RIk


0 new messages