Shoutbox

windows always on another windows - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: windows always on another windows (/showthread.php?tid=72174)

windows always on another windows by Dennis Mike on 02-28-2007 at 05:28 AM

how can i do that a window be always on another window?

example the windows the MPInterfaceTester.

[Image: 67pos.jpg]

always the position of the windows is top on the another window


RE: windows always on another windows by Felu on 02-28-2007 at 05:46 AM

Place

code:
<TopMost>true</TopMost>
under the Attributes of the window or
code:
Interop.Call("User32.dll", "SetWindowPos", Handle, -1, 0, 0, 0, 0,19);

RE: windows always on another windows by Dennis Mike on 02-28-2007 at 05:52 AM

it is not indeed what I want.
need a windows always on another, no on top on all
watch Mpinterfacetester


RE: windows always on another windows by Felu on 02-28-2007 at 06:04 AM

Oh, use SetParent then :P

code:
Interop.Call("User32.dll", "SetParent", ChildWnd.Handle, ParentWnd.Handle);

RE: windows always on another windows by Dennis Mike on 03-01-2007 at 01:58 AM

it don't work
why?

watch


RE: windows always on another windows by Dennis Mike on 03-01-2007 at 11:16 PM

felu could prove with a example?