strate Posted July 28, 2005 Share Posted July 28, 2005 This is gonna be easy to fix I'm sure but I just cannot see it. I've created many GUIs but for some reason this is a problem please help.#include "H:\AutoIt3\Include\GUIConstants.au3" #include "Date.au3" MsgBox(0,'',"") GuiCreate("GUI", 161, 110,(@DesktopWidth-161)/2, (@DesktopHeight-79)/2 , 0x04CF0000) $Label_13 = GuiCtrlCreateLabel("Month", 20, 30, 40, 20) $Label_14 = GuiCtrlCreateLabel("Day", 70, 30, 40, 20) $Label_15 = GuiCtrlCreateLabel("Year", 120, 30, 40, 20) $Edit_16 = GuiCtrlCreateEdit("", 20, 50, 20, 20) $Edit_17 = GuiCtrlCreateEdit("", 70, 50, 20, 20) $Edit_18 = GuiCtrlCreateEdit("", 120, 50, 20, 20) $Progress_19 = GuiCtrlCreateProgress(30, 40, 1, 1) $Label_20 = GuiCtrlCreateLabel("Please Enter Date", 40, 10, 90, 20) $CONTINUE = GuiCtrlCreateButton ("Continue", 30, 80, 70, 20) $CANCEL = GuiCtrlCreateButton ("Cancel", 110, 80, 70, 20) GuiSetState(@SW_SHOW) While 1 ;~ MsgBox(0,'',"") ;~ $msg = GuiGetMsg() ;~ Select ;~ Case $msg = -3;Should really use $GUI_EVENT_CLOSE ;~ ExitLoop ;~ Case Else ;~ ;;; ;~ EndSelect WEnd The message box right after the includes will not open either. The box is in it to see that it started and will eventually be removed. INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
strate Posted July 28, 2005 Author Share Posted July 28, 2005 This is gonna be easy to fix I'm sure but I just cannot see it. I've created many GUIs but for some reason this is a problem please help.#include "H:\AutoIt3\Include\GUIConstants.au3" #include "Date.au3" MsgBox(0,'',"") GuiCreate("GUI", 161, 110,(@DesktopWidth-161)/2, (@DesktopHeight-79)/2 , 0x04CF0000) $Label_13 = GuiCtrlCreateLabel("Month", 20, 30, 40, 20) $Label_14 = GuiCtrlCreateLabel("Day", 70, 30, 40, 20) $Label_15 = GuiCtrlCreateLabel("Year", 120, 30, 40, 20) $Edit_16 = GuiCtrlCreateEdit("", 20, 50, 20, 20) $Edit_17 = GuiCtrlCreateEdit("", 70, 50, 20, 20) $Edit_18 = GuiCtrlCreateEdit("", 120, 50, 20, 20) $Progress_19 = GuiCtrlCreateProgress(30, 40, 1, 1) $Label_20 = GuiCtrlCreateLabel("Please Enter Date", 40, 10, 90, 20) $CONTINUE = GuiCtrlCreateButton ("Continue", 30, 80, 70, 20) $CANCEL = GuiCtrlCreateButton ("Cancel", 110, 80, 70, 20) GuiSetState(@SW_SHOW) While 1 ;~ MsgBox(0,'',"") ;~ $msg = GuiGetMsg() ;~ Select ;~ Case $msg = -3;Should really use $GUI_EVENT_CLOSE ;~ ExitLoop ;~ Case Else ;~ ;;; ;~ EndSelect WEndThe message box right after the includes will not open either. The box is in it to see that it started and will eventually be removed.<{POST_SNAPBACK}>Not sure what happened but its working ----- PLEASE DELETE INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
seandisanti Posted July 28, 2005 Share Posted July 28, 2005 Not sure what happened but its working ----- PLEASE DELETE<{POST_SNAPBACK}>One thing you may have fixed is your GuiCreate() function, gui stuff never works for me if i don't have the case right...GUICreate() 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