CodyBarrett Posted May 13, 2009 Share Posted May 13, 2009 well... i know some stupid kids who like to delete things.... and im making a program that has a sys hidden folder.. in another sys hidden folder inside..ect... all in all 10 folders.. then there is the main folder.. im making a program that opens the 10th folder...but im having troubles with hiding some of the windows explorer controls... i have everything all good.. except the stuff on the left side... it shows which folder the current one is in.. i can't allow that.. so is there a way to hide that? or is there a way to change the folder view to classic? i have searched results = 0 that relate to my problem... i googled it (just to show im not lazy) and all i found were step by step guides to change it to classic... i KNOW how.. just not how to automaticaly do it without bringing up the folder options window... or would i have to? [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Authenticity Posted May 13, 2009 Share Posted May 13, 2009 (edited) Win+Pause -> advanced -> settings (performance) -> uncheck "Use common tasks in folders".Don't know for Vista.Edit: ...and what about the path bar? want to remove that too? Edited May 13, 2009 by Authenticity Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 13, 2009 Author Share Posted May 13, 2009 (edited) is there like a regkey to edit?.... i know i could probably use control click for everything.. but the users would see what was happening wouldn't they? edit i already have everything... the back & forwards buttons.. pathbar..ect. all are hidden.. i changed the title just in case.. most computers use the current.. but can't be too careful the thing thats giving me grief is the left hand side of the screen... doesn't seem to be a control there Edited May 13, 2009 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
WideBoyDixon Posted May 14, 2009 Share Posted May 14, 2009 #include <WindowsConstants.au3> #include <SendMessage.au3> #include <WinAPI.au3> $hExplorer = WinGetHandle("[Class:ExploreWClass]") $hTree = ControlGetHandle($hExplorer, "", "[Class:SysTreeView32]") While 1 If _WinAPI_IsWindowVisible($hTree) Then _SendMessage($hExplorer, $WM_COMMAND, 41525, 0) ;_WinAPI_ShowWindow($hTree, @SW_HIDE); <--- EXTREME!! EndIf Sleep(10) Wend WBD [center]Wide by name, Wide by nature and Wide by girth[u]Scripts[/u]{Hot Folders} {Screen Calipers} {Screen Crosshairs} {Cross-Process Subclassing} {GDI+ Clock} {ASCII Art Signatures}{Another GDI+ Clock} {Desktop Goldfish} {Game of Life} {3D Pie Chart} {Stock Tracker}[u]UDFs[/u]{_FileReplaceText} {_ArrayCompare} {_ToBase}~ My Scripts On Google Code ~[/center] Link to comment Share on other sites More sharing options...
Authenticity Posted May 14, 2009 Share Posted May 14, 2009 To destroy all the path edit control: #include <SendMessage.au3> #include <WindowsConstants.au3> Dim $aCabinet, $aExplore Dim $hEdit $aCabinet = WinList('[CLASS:CabinetWClass]') $aExplore = WinList('[CLASS:ExploreWClass]') For $i = 1 To $aCabinet[0][0] $hEdit = ControlGetHandle($aCabinet[$i][1], '', 'Edit1') _SendMessage($hEdit, $WM_CLOSE) Next For $i = 1 To $aExplore[0][0] $hEdit = ControlGetHandle($aExplore[$i][1], '', 'Edit1') _SendMessage($hEdit, $WM_CLOSE) Next The key to the explorer properties is probably "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer". Play around with the sub-keys, maybe you'll find it there. If no try the method above to remove the lest (or the right ,if you have RTL windows version) side. Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 14, 2009 Author Share Posted May 14, 2009 (edited) uhmmm alright thannks WBD ill lookinto that i have no idea how sendmessage works... and WINAPI i don't need but i can see its just an example... and BTW the example didn't do anything... but yeah ima look into _Sendmesage() how do you get the values? edit authenticty -> ill look into yours also..and ill check out the key.. another question... i've never seen "cabinet" before what is that?... well thats a lie i HAVE seen it.. in my kitchen.. but no TO GOOGLE!!! again Edited May 14, 2009 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
WideBoyDixon Posted May 14, 2009 Share Posted May 14, 2009 I use Winspector (http://www.windows-spy.com/) to peek at the messages to the window when I choose certain menu items. Generally, WM_COMMAND messages are quite interesting. The example should work if you: [1] Start an explorer window (e.g. [Win]+E) [2] Run the script [3] Try and turn folder view on WBD [center]Wide by name, Wide by nature and Wide by girth[u]Scripts[/u]{Hot Folders} {Screen Calipers} {Screen Crosshairs} {Cross-Process Subclassing} {GDI+ Clock} {ASCII Art Signatures}{Another GDI+ Clock} {Desktop Goldfish} {Game of Life} {3D Pie Chart} {Stock Tracker}[u]UDFs[/u]{_FileReplaceText} {_ArrayCompare} {_ToBase}~ My Scripts On Google Code ~[/center] Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 14, 2009 Author Share Posted May 14, 2009 im still having difficulties... #1 winapi doesn't do what i need.. and it has a function for mostly everything #2 there isn't a control there to hide #3 i tried controlclick "Tools" Controlclick "Folder options" ControlClick "Classic".... but it didn't work at all.... the Tools.. in the menu doesn't seem to have its own control #4 not even sure how DLL's work so i don't want to venture into that area [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 19, 2009 Author Share Posted May 19, 2009 bump any more ideas? because im still having troubles hiding the left hand side... [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Authenticity Posted May 19, 2009 Share Posted May 19, 2009 Global $sKey, $sShellState, $sWebView Global $xShellState ; $sKey Global $iWebView ; $sKey & '\Advanced' $sKey = 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer' $sShellState = 'ShellState' ; REG_BINARY $sWebView = 'WebView' ; REG_DWORD $xShellState = RegRead($sKey, $sShellState) $xShellState = BinaryMid($xShellState, 1, 5) & _ StringFormat('%02x', BitAND(BinaryMid($xShellState, 6, 1), BitNOT(0x20))) & _ StringTrimLeft(BinaryMid($xShellState, 7), 2) RegWrite($sKey, $sShellState, 'REG_BINARY', $xShellState) RegWrite($sKey & '\Advanced', $sWebView, 'REG_DWORD', 0) Link to comment Share on other sites More sharing options...
Yashied Posted May 19, 2009 Share Posted May 19, 2009 Code(Authenticity) + Code(This) = Solution(For CodyBarrett) $Opt = Opt('WinSearchChildren', 1) Global $sKey, $sShellState, $sWebView Global $xShellState ; $sKey Global $iWebView ; $sKey & '\Advanced' $sKey = 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer' $sShellState = 'ShellState' ; REG_BINARY $sWebView = 'WebView' ; REG_DWORD $xShellState = RegRead($sKey, $sShellState) $xShellState = BinaryMid($xShellState, 1, 5) & _ StringFormat('%02x', BitAND(BinaryMid($xShellState, 6, 1), BitNOT(0x20))) & _ StringTrimLeft(BinaryMid($xShellState, 7), 2) RegWrite($sKey, $sShellState, 'REG_BINARY', $xShellState) RegWrite($sKey & '\Advanced', $sWebView, 'REG_DWORD', 0) Global $List = WinList('[CLASS:SHELLDLL_DefView]') For $i = 1 To UBound($List) - 1 DllCall('user32.dll', 'long', 'SendMessage', 'hwnd', $List[$i][1], 'int', 0x0111, 'int', 0x7103, 'int', 0) Next 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...
CodyBarrett Posted May 19, 2009 Author Share Posted May 19, 2009 THANK YOU! that worked haha.. now to understand what just happened... [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] 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