thelex Posted February 19, 2008 Share Posted February 19, 2008 I just wan't it to be sizeable bu the user. (it's a shout box to use while playing games etc. btw.) I tried using WS_sizebox, and thickframe, but i get an error "variable used without being decleared" Please help. here it is _WITH the sizebox style_ #include <GUIConstants.au3> #include <IE.au3> $PanTask = _IECreateEmbedded() GUICreate("MMOwned Shout Bawx", 670, 300, 0, 0, $WS_SIZEBOX) $PanGUI = GUICtrlCreateObj($PanTask, 0, -210, 670, 500) ;----------------------------------left,top,with,height----------- GUISetState() _IENavigate ($PanTask, "http://www.mmowned.com/forums/mgc_chatbox.php?do=view_chatbox", 0) WinSetOnTop("MMOwned Shout Bawx", "", 1) WinSetTrans ("MMOwned Shout Bawx", "", 130) While 1 $GUI = GUIGetMsg() Select Case $GUI = $GUI_EVENT_CLOSE Exit EndSelect WEnd Link to comment Share on other sites More sharing options...
ReFran Posted February 19, 2008 Share Posted February 19, 2008 Something like this? HTH, Reinhard #include <IE.au3> $PanTask = _IECreateEmbedded() GUICreate("MMOwned Shout Bawx", 670, 300, 0, 0, BitOr($WS_SIZEBOX, $WS_MAXIMIZEBOX, $WS_MINIMIZEBOX, $WS_CAPTION, $WS_POPUP, $WS_SYSMENU)) $PanGUI = GUICtrlCreateObj($PanTask, 0, -210, 670, 500) GUICtrlSetResizing (-1,$GUI_DOCKAUTO) ;----------------------------------left,top,with,height----------- GUISetState() _IENavigate ($PanTask, "http://www.mmowned.com/forums/mgc_chatbox.php?do=view_chatbox", 0) WinSetOnTop("MMOwned Shout Bawx", "", 1) WinSetTrans ("MMOwned Shout Bawx", "", 0) While 1 $GUI = GUIGetMsg() Select Case $GUI = $GUI_EVENT_CLOSE Exit EndSelect WEnd Link to comment Share on other sites More sharing options...
thelex Posted February 19, 2008 Author Share Posted February 19, 2008 still "variable used without being decleared" =/ Link to comment Share on other sites More sharing options...
ReFran Posted February 19, 2008 Share Posted February 19, 2008 Oh, should read until the end. However for me it works in all versions(>3...10<). Would try to reinstall and install new. br, Reinhard Link to comment Share on other sites More sharing options...
Kilhian Posted February 19, 2008 Share Posted February 19, 2008 (edited) still "variable used without being decleared" =/Maybe uyou should read the code... and see that #include <GUIConstants.au3> is missing Edited February 19, 2008 by Kilhian Link to comment Share on other sites More sharing options...
thelex Posted February 19, 2008 Author Share Posted February 19, 2008 Maybe uyou should read the code... and see that #include <GUIConstants.au3> is missing *DOH* Thanks, and one last quickie for another project What is the command to make a IE window (inside the GUI) refresh? and maybe refresh each 10 seconds? O.o Link to comment Share on other sites More sharing options...
Kilhian Posted February 19, 2008 Share Posted February 19, 2008 *DOH*Thanks, and one last quickie for another projectWhat is the command to make a IE window (inside the GUI) refresh?and maybe refresh each 10 seconds? O.oAutoit help file would want to be closer from you 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