snaileater Posted June 17, 2005 Posted June 17, 2005 I try to open the Printers Folders with the following line :Run("RUNDLL32 SHELL32.DLL,SHHelpShortcuts_RunDLL PrintersFolder", "",@SW_HIDE)It works well BUT ... the @SW_HIDE parameter is not taken in account ...@SW_MINIMIZE and @SW_MAXIMIZE don't work properly either ...any way to correct this behavior ?Thanks.
herewasplato Posted June 17, 2005 Posted June 17, 2005 Run("RUNDLL32 SHELL32.DLL,SHHelpShortcuts_RunDLL PrintersFolder", "",@SW_HIDE) WinWaitActive("Printers and Faxes","") WinSetState("Printers and Faxes","",@SW_HIDE) MsgBox(0,"","") ; just to let you see that it has been hidden WinSetState("Printers and Faxes","",@SW_SHOW) ;just to let you close the window during this test snippet of codeYou might still get a flash of that window, but it is all that I could think of as a work around... [size="1"][font="Arial"].[u].[/u][/font][/size]
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