WSCPorts Posted September 11, 2005 Share Posted September 11, 2005 (edited) a message Only window is a hidden window that can be found by normal means and will not show if @sw_Show sent to it #include <GuiConstants.au3> Const $Only_Msgs = 0xfffffffd Func GetParent($oHwnd) $User32 = DllOpen("User32.dll") $oParent = DllCall($User32, "hwnd", "GetParent", "hwnd", $oHwnd) Return $oParent DllClose($User32) EndFunc Func SetParent($oHwnd, $nHwnd) $User32 = DllOpen("User32.dll") $Parent = DllCall($User32, "hwnd", "SetParent", "hwnd", $oHwnd, "hwnd", $nHwnd) Return $Parent DllClose($User32) EndFunc $h_MsgWnd = GUICreate("Unseen Message Window", 100, 100, 440, 440) SetParent($h_MsgWnd, $Only_Msgs) GUISetState(@SW_SHOW, $h_MsgWnd); test iT while(1) $GuiMsg = GuiGetMsg() Select Case $GuiMsg = $Gui_Event_Close Exit EndSelect Wend Can anyone think of a use for this ? ... Edited September 12, 2005 by WSCPorts http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now