ioctl Posted July 27, 2005 Posted July 27, 2005 Here is the code. Anyone knows why is not working ? Thanks.#include <GUIConstants.au3>GUICreate("My GUI",550,400,-1,-1,BitOr($ES_AUTOVSCROLL+$WS_VSCROLL,$WS_MINIMIZEBOX,$WS_MAXIMIZEBOX,$WS_GROUP,$WS_CAPTION,$WS_POPUP,$WS_SYSMENU))GUISetHelp("notepad") ; will run notepad if F1 is typedOpt("GUICoordMode",2)$widthCell=70GUICtrlCreateLabel ("Line 1 Cell 1", 10, 30, $widthCell); first cell 70 widthGUICtrlCreateLabel ("Line 2 Cell 1", -1, 0); next lineGUICtrlCreateLabel ("Line 3 Cell 2", 0, 0); next line and next cell GUICtrlCreateLabel ("Line 3 Cell 3", 0, -1); next cell same lineGUICtrlCreateLabel ("Line 4 Cell 1", -3*$widthcell, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 4 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 5 Cell 1", -1, 0); next line Cell1GUICtrlCreateLabel ("Line 6 Cell 1", -1, 0); next line Cell1GUISetState () ; will display an empty dialog box; Run the GUI until the dialog is closedWhile 1$msg = GUIGetMsg()If $msg = $GUI_EVENT_CLOSE Then ExitLoopWend
FuryCell Posted July 31, 2005 Posted July 31, 2005 $WS_VSCROLL and $WS_AUTOVSCROLL are control styles and not a window styles. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
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