kjpolker Posted October 15, 2009 Share Posted October 15, 2009 Ok i seriously can't think of an easier question to ask, no need for an example as my question simply is how can I hide the taskbar window of my program? so instead of it showing on my taskbar where I can click it to open/minimize/options it just doesn' show, but ONLY from the taskbar, I still want it in my tray menu. Only thing I could find was hiding the tray icon. Thanks Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 (edited) ...I hide the taskbar window of my program?Again. This is AutoIt GUI or third-party program? Edited October 15, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
kjpolker Posted October 15, 2009 Author Share Posted October 15, 2009 (edited) Wait I am confused, I don't understand what you mean? The first topic I thought you meant this should belong in the autoit GUI thread, I would love to help so i can get help in return but I don't understand >.<EDIT: ooooh! This is a GUI box yes, its a widget type box, has no fram around it but a small one and is draggable, and is used for quickly browsing. And since I consider it a widget I was looking for how to get rid of the window in the taskbar. Edited October 15, 2009 by kjpolker Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 You talk about the program that was written by using AutoIt - GUICreate()? My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
kjpolker Posted October 15, 2009 Author Share Posted October 15, 2009 Yes, here it is right from the script: $Form1 = GUICreate("Web Browser", 307, 120, -1, -1, BitOR($WS_MINIMIZEBOX, $WS_SYSMENU, $WS_DLGFRAME, $WS_POPUP)) Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 #Include <WindowsConstants.au3> $hParent = GUICreate('', -1, -1, -1, -1, -1, $WS_EX_TOOLWINDOW) $hForm = GUICreate('Web Browser', 307, 120, -1, -1, BitOR($WS_DLGFRAME, $WS_POPUP), -1, $hParent) GUISetState(@SW_SHOW, $hForm) Do Until GUIGetMsg() = -3 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
spudw2k Posted October 15, 2009 Share Posted October 15, 2009 Or just #Include <WindowsConstants.au3> $hForm = GUICreate('Web Browser', 307, 120, -1, -1, BitOR($WS_DLGFRAME, $WS_POPUP), -1, WinGetHandle("Progman")) GUISetState(@SW_SHOW, $hForm) Do Until GUIGetMsg() = -3 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
kjpolker Posted October 15, 2009 Author Share Posted October 15, 2009 Well it sure did work, but now nothing on the window works(exit, input, search, hot buttons, ect.) What do I need to change in my scripts to make them work again? Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 (edited) Or just #Include <WindowsConstants.au3> $hForm = GUICreate('Web Browser', 307, 120, -1, -1, BitOR($WS_DLGFRAME, $WS_POPUP), -1, WinGetHandle("Progman")) GUISetState(@SW_SHOW, $hForm) Do Until GUIGetMsg() = -3 This does not works for me (XP). #Include <WindowsConstants.au3> $hForm = GUICreate('Web Browser', 307, 120, -1, -1, BitOR($WS_DLGFRAME, $WS_POPUP), -1, WinGetHandle(AutoItWinGetTitle())) GUISetState(@SW_SHOW, $hForm) Do Until GUIGetMsg() = -3 Edited October 15, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 Well it sure did work, but now nothing on the window works(exit, input, search, hot buttons, ect.) What do I need to change in my scripts to make them work again?And where is your source code? Share? My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
kjpolker Posted October 15, 2009 Author Share Posted October 15, 2009 (edited) expandcollapse popup#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <SliderConstants.au3> #include <StructureConstants.au3> #include <SendMessage.au3> FileInstall("M:\Kevin\Autoit\Widget\Icons\FB.ico", @ScriptDir & "\Icons\FB.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Google.ico", @ScriptDir & "\Icons\Google.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Myspace.ico", @ScriptDir & "\Icons\Myspace.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Twitter.ico", @ScriptDir & "\Icons\Twitter.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Google.jpg", @ScriptDir & "\Icons\Google.jpg") #Region ### START Koda GUI section ### Form= $hParent = GUICreate('', -1, -1, -1, -1, -1, $WS_EX_TOOLWINDOW) $hForm = GUICreate('Web Browser', 307, 120, -1, -1, BitOR($WS_DLGFRAME, $WS_POPUP), -1, $hParent) GUISetBkColor(0x000000) GUISetIcon(@ScriptDir & "\Icons\Google.ico") $image = InetGet('http://www.google.com/intl/en_ALL/images/logo.gif', @ScriptDir & '\Icons\Icon.jpg') $Input1 = GUICtrlCreateInput("www.google.com", 23, 56, 225, 26) GUICtrlSetFont(-1, 10, 800, 0, "Kristen ITC") GUICtrlSetCursor (-1, 5) $Button1 = GUICtrlCreateButton("Search", 97, 88, 73, 25, $WS_GROUP) GUICtrlSetFont(-1, 8, 800, 0, "Kristen ITC") GUICtrlSetCursor (-1, 0) $Pic = GUICtrlCreatePic(@ScriptDir & "\Icons\Google.jpg", 49, 6, 169, 44, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUICtrlSetFont(-1, 10, 400, 0, "Kristen ITC") GUICtrlSetColor(-1, 0x00FF00) $Button2 = GUICtrlCreateButton("", 264, 16, 25, 25, BitOR($BS_ICON,$WS_GROUP)) GUICtrlSetImage(-1, @ScriptDir & "\Icons\FB.ico", -1) GUICtrlSetCursor (-1, 0) $Button3 = GUICtrlCreateButton("", 264, 48, 25, 25, BitOR($BS_ICON,$WS_GROUP)) GUICtrlSetImage(-1, @ScriptDir & "\Icons\Myspace.ico", -1) GUICtrlSetCursor (-1, 0) $Button4 = GUICtrlCreateButton("", 264, 80, 25, 25, BitOR($BS_ICON,$WS_GROUP)) GUICtrlSetImage(-1, @ScriptDir & "\Icons\Twitter.ico", -1) GUICtrlSetCursor (-1, 0) Global $Slider = GUICtrlCreateSlider(1, 96, 92, 17) GUICtrlSetBkColor(-1,0) GUICtrlSetLimit(-1, 255, 126) GUICtrlSetData(-1, 255) GUISetState() $Button5 = GUICtrlCreateButton("X", 2, 2, 15, 15, 0) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") GUICtrlSetBkColor(-1, 0xFF0000) GUICtrlSetCursor (-1, 0) GUISetState(@SW_SHOW, $hForm) Do Until GUIGetMsg() = -3 #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_PRIMARYDOWN _SendMessage($Form1, $WM_SYSCOMMAND, 0xF012, 0) Case $nMsg = $Slider WinSetTrans($Form1, "", GUICtrlRead($Slider)) sleep (100) Case $Button2 ShellExecute('http://www.facebook.com/home.php') Case $Button3 ShellExecute('http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=254074901') Case $Button4 ShellExecute('http://twitter.com/') Case $Button1 ShellExecute(GUICtrlRead($Input1)) Case $Button5 Terminate() EndSwitch WEnd Func Terminate() Exit 0 EndFunc Soooo? Any ideas? Edited October 15, 2009 by kjpolker Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 You sometimes think that insert in your code? Do Until GUIGetMsg() = -3 #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
kjpolker Posted October 15, 2009 Author Share Posted October 15, 2009 (edited) =S What? I still don't know whats wrong with it. I don't know what Until GUIGetMsg() = -3 is doing at all. Or the _SendMessage($FOrm1, $WM_SYSCOMMAND, 0xF012, 0) does Edited October 15, 2009 by kjpolker Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 ...Or the _SendMessage($FOrm1, $WM_SYSCOMMAND, 0xF012, 0) does... This is not me, it was in your code. Just remove this. Do Until GUIGetMsg() = -3 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
kjpolker Posted October 16, 2009 Author Share Posted October 16, 2009 Then that makes the window non draggable =( Link to comment Share on other sites More sharing options...
Yashied Posted October 16, 2009 Share Posted October 16, 2009 (edited) expandcollapse popup#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <SliderConstants.au3> #include <StructureConstants.au3> #include <SendMessage.au3> #include <WindowsConstants.au3> FileInstall("M:\Kevin\Autoit\Widget\Icons\FB.ico", @ScriptDir & "\Icons\FB.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Google.ico", @ScriptDir & "\Icons\Google.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Myspace.ico", @ScriptDir & "\Icons\Myspace.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Twitter.ico", @ScriptDir & "\Icons\Twitter.ico") FileInstall("M:\Kevin\Autoit\Widget\Icons\Google.jpg", @ScriptDir & "\Icons\Google.jpg") $hParent = GUICreate('', -1, -1, -1, -1, -1, $WS_EX_TOOLWINDOW) $Form1 = GUICreate('Web Browser', 307, 120, -1, -1, BitOR($WS_DLGFRAME, $WS_POPUP), -1, $hParent) GUISetBkColor(0x000000) GUISetIcon(@ScriptDir & "\Icons\Google.ico") $image = InetGet('http://www.google.com/intl/en_ALL/images/logo.gif', @ScriptDir & '\Icons\Icon.jpg') $Input1 = GUICtrlCreateInput("www.google.com", 23, 56, 225, 26) GUICtrlSetFont(-1, 10, 800, 0, "Kristen ITC") GUICtrlSetCursor(-1, 5) $Button1 = GUICtrlCreateButton("Search", 97, 88, 73, 25, $WS_GROUP) GUICtrlSetFont(-1, 8, 800, 0, "Kristen ITC") GUICtrlSetCursor(-1, 0) $Pic = GUICtrlCreatePic(@ScriptDir & "\Icons\Google.jpg", 49, 6, 169, 44, BitOR($SS_NOTIFY, $WS_GROUP, $WS_CLIPSIBLINGS)) GUICtrlSetFont(-1, 10, 400, 0, "Kristen ITC") GUICtrlSetColor(-1, 0x00FF00) $Button2 = GUICtrlCreateButton("", 264, 16, 25, 25, BitOR($BS_ICON, $WS_GROUP)) GUICtrlSetImage(-1, @ScriptDir & "\Icons\FB.ico", -1) GUICtrlSetCursor(-1, 0) $Button3 = GUICtrlCreateButton("", 264, 48, 25, 25, BitOR($BS_ICON, $WS_GROUP)) GUICtrlSetImage(-1, @ScriptDir & "\Icons\Myspace.ico", -1) GUICtrlSetCursor(-1, 0) $Button4 = GUICtrlCreateButton("", 264, 80, 25, 25, BitOR($BS_ICON, $WS_GROUP)) GUICtrlSetImage(-1, @ScriptDir & "\Icons\Twitter.ico", -1) GUICtrlSetCursor(-1, 0) $Slider = GUICtrlCreateSlider(1, 96, 92, 17) GUICtrlSetBkColor(-1, 0) GUICtrlSetLimit(-1, 255, 126) GUICtrlSetData(-1, 255) GUISetState() $Button5 = GUICtrlCreateButton("X", 2, 2, 15, 15, 0) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") GUICtrlSetBkColor(-1, 0xFF0000) GUICtrlSetCursor(-1, 0) GUIRegisterMsg($WM_NCHITTEST, 'WM_NCHITTEST') GUISetState(@SW_SHOW, $Form1) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $Slider WinSetTrans($Form1, "", GUICtrlRead($Slider)) Case $Button2 ShellExecute('http://www.facebook.com/home.php') Case $Button3 ShellExecute('http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=254074901') Case $Button4 ShellExecute('http://twitter.com/') Case $Button1 ShellExecute(GUICtrlRead($Input1)) Case $Button5 Terminate() EndSwitch WEnd Func Terminate() Exit 0 EndFunc ;==>Terminate Func WM_NCHITTEST($hWnd, $iMsg, $wParam, $lParam) If ($hWnd = $Form1) And ($iMsg = $WM_NCHITTEST) Then Return $HTCAPTION EndIf EndFunc ;==>WM_NCHITTEST Edited October 16, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
kjpolker Posted October 16, 2009 Author Share Posted October 16, 2009 O man, thank you so much, I don't even know what all that was about, all those scripts you added were new to me =/ Again thank you for sticking around. Link to comment Share on other sites More sharing options...
spudw2k Posted October 16, 2009 Share Posted October 16, 2009 This does not works for me (XP). #Include <WindowsConstants.au3> $hForm = GUICreate('Web Browser', 307, 120, -1, -1, BitOR($WS_DLGFRAME, $WS_POPUP), -1, WinGetHandle(AutoItWinGetTitle())) GUISetState(@SW_SHOW, $hForm) Do Until GUIGetMsg() = -3 Why did you change "Progman" to AutoItWinGetTitle? Notice PROGman, not PROGram. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Yashied Posted October 17, 2009 Share Posted October 17, 2009 Why did you change "Progman" to AutoItWinGetTitle? Notice PROGman, not PROGram. WinGetHandle("Progman") - is wrong. Progman is a class, but not the title. You must have write WinGetHandle("[CLASS:Progman]"). My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
spudw2k Posted October 19, 2009 Share Posted October 19, 2009 (edited) WinGetHandle("Progman") - is wrong. Progman is a class, but not the title. You must have write WinGetHandle("[CLASS:Progman]"). Strange, still has the same effect. I guess an invalid handle produces the same effect? You are right about the class though, for an accurate handle Edited October 19, 2009 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF 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