DirtDBaK Posted October 21, 2007 Posted October 21, 2007 Make toolwindows within windowsLike so...Picture of what im talking about [center][/center]
DirtDBaK Posted October 21, 2007 Author Posted October 21, 2007 i dont think ill have much luck with this maybe MSDN will have something about it .... (of course not for autoIt but i'm sure someone could figure it out ) [center][/center]
Moderators SmOke_N Posted October 21, 2007 Moderators Posted October 21, 2007 GUICtrlCreateTreeView Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
DirtDBaK Posted October 21, 2007 Author Posted October 21, 2007 GUICtrlCreateTreeView umm create treeview??? not that control here is what i meant, i found it.... based on Senton-Bomb's func expandcollapse popup#include <GUIConstants.au3> $big = GuiCreate( "Big Win", 988,748, -1, -1 ) GUISetState() $inside = GuiCreate( "1", 982, 200, 0, 0, Default, $WS_EX_TOOLWINDOW ) GUISetState() $inside2 = GuiCreate( "2", 538, 200, 0, 222, Default, $WS_EX_TOOLWINDOW ) GUISetState() _SetParent( "Inside Window", "Big Win" ) _SetParent( "shit", "Big Win" ) While 1 WEnd #cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.4.9 Author: Senton-Bomb $TitleP: The title of the parent window $TitleC: The title of the child window If a window doesn't exist, It returns -1, otherwise it returns 1 Script Function: Wrapper for the "SetParent" dllcall + Example. #ce ---------------------------------------------------------------------------- ; Script Stizzle - Add your codeizzle Func _SetParent($TitleP, $TitleC) If WinExists($TitleP) Then If WinExists($TitleC) Then $HwndP = WinGetHandle($TitleP) $HwndC = WinGetHandle($TitleC) $user32 = DllOpen("user32.dll") DllCall($user32, "str", "SetParent", "HWnd", $HwndP, "HWnd", $HwndC) Return 1 Else Return -1 EndIf Else Return -1 EndIf EndFunc ;==>_SetParent [center][/center]
Valuater Posted October 21, 2007 Posted October 21, 2007 While 1 WEnd needs a sleep() or it will burn your CPU While 1 Sleep(10) WEnd 8)
DirtDBaK Posted October 21, 2007 Author Posted October 21, 2007 While 1WEndneeds a sleep() or it will burn your CPUWhile 1Sleep(10)WEnd8)actually it needs to say DllClose( $user32 )then it doesn't eat cpu power [center][/center]
BrettF Posted October 21, 2007 Posted October 21, 2007 No... The Sleep is needed, otherwise your CPU will get eaten by nothing. The sleep adds a moment of pause (well duh!) that slows the process down, therefore eating less CPU. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
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