MerkurAlex Posted May 7, 2008 Share Posted May 7, 2008 Title says it all is this possible... [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
RodT Posted May 7, 2008 Share Posted May 7, 2008 Title says it all is this possible...Would you care to explain your question in a bit more detail? Link to comment Share on other sites More sharing options...
MerkurAlex Posted May 7, 2008 Author Share Posted May 7, 2008 Would you care to explain your question in a bit more detail?Its quite simple i need to be able to use guictrlcreateobj for ie without scrollbars on the right or bottom. [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
ChrisL Posted May 7, 2008 Share Posted May 7, 2008 Its quite simple i need to be able to use guictrlcreateobj for ie without scrollbars on the right or bottom. I think they get created if the object space for the control is smaller than the ie page you are loading. So if you make the object space big enough for the page then the scroll bars dissapear This modified helpfile example starts with a page that fits the object, then if you click bbc.co.uk button you will see that the BBC has a larger page and the scroll bars are activated automatically expandcollapse popup#include <GUIConstants.au3> ; Simple example: Embedding an Internet Explorer Object inside an AutoIt GUI ; ; See also: http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internetexplorer.asp $oIE = ObjCreate("Shell.Explorer.2") ; Create a simple GUI for our output GUICreate ( "Embedded Web control Test", @DesktopWidth, @DesktopHeight-24, 0 ,0, BitOr($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN)) $GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 900 , 780) $GUI_Button_Back = GuiCtrlCreateButton ("Back", 1044, 40, 100, 30) $GUI_Button_Forward = GuiCtrlCreateButton ("Forward", 1044, 140, 100, 30) $GUI_Button_Home = GuiCtrlCreateButton ("BBC.co.uk", 1044, 240, 100, 30) $GUI_Button_Stop = GuiCtrlCreateButton ("Stop", 1044, 340, 100, 30) GUISetState () ;Show GUI $oIE.navigate("http://www.2inept.co.uk") ; Waiting for user to close the window While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home $oIE.navigate("http://www.bbc.co.uk") Case $msg = $GUI_Button_Back $oIE.GoBack Case $msg = $GUI_Button_Forward $oIE.GoForward Case $msg = $GUI_Button_Stop $oIE.Stop EndSelect Wend GUIDelete () Exit [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire 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