twbradio Posted February 8, 2005 Posted February 8, 2005 I have an application that opens with the following GUI command:$MAIN = GuiCreate("Tech Tally 5", 290, 205,(@DesktopWidth-287)/2, (@DesktopHeight-202)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE - $WS_SIZEBOX, $WS_EX_CLIENTEDGE)I would like to keep the minimize button, but disable the maximize functionality. Is there a native AIG (AutoIt GUI) method for doing this? I did find the following information on a website if anyone has a clue about how to make it happen in AIG.If you're willing to limit your application to running onlyunder Win32, there are surely many ways. For example, messageWM_NCHITTEST can be intercepted in the main windows' window-procedure, and rather than just passing it straight throughto DefWindowProc as one usually does, one intercepts the returnvalue from DefWindowProc and (e.g.) changes a return value ofHTMAXBUTTON to HTNOWHEREThank you in advanceTom Anyone have a TRS 80 Model III for sale?
CyberSlug Posted February 8, 2005 Posted February 8, 2005 Isn't the deault window style what you want?? $MAIN = GuiCreate("Tech Tally 5", 290, 205,(@DesktopWidth-287)/2, (@DesktopHeight-202)/2) or perhaps you still want the clientedge extended style $MAIN = GuiCreate("Tech Tally 5", 290, 205, (@DesktopWidth-287)/2, (@DesktopHeight-202)/2, -1, $WS_EX_CLIENTEDGE) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
twbradio Posted February 8, 2005 Author Posted February 8, 2005 :"> Oh, I am so embarrassed - I had goofed with the properties of this window so much when I started this several weeks ago that I had completely forgotten the default configuration.Thank's CyberSlug, I'll just go crawl under my desk now.TomIsn't the deault window style what you want??$MAIN = GuiCreate("Tech Tally 5", 290, 205,(@DesktopWidth-287)/2, (@DesktopHeight-202)/2)or perhaps you still want the clientedge extended style$MAIN = GuiCreate("Tech Tally 5", 290, 205, (@DesktopWidth-287)/2, (@DesktopHeight-202)/2, -1, $WS_EX_CLIENTEDGE)<{POST_SNAPBACK}> Anyone have a TRS 80 Model III for sale?
sykes Posted February 8, 2005 Posted February 8, 2005 Anyone have a TRS 80 Model III for sale?LMFAONot exactly ... How 'bout an Atari 800 XL with 48 k memory? We have enough youth. How about a fountain of SMART?
twbradio Posted February 8, 2005 Author Posted February 8, 2005 Don't get me wrong, I'm not an old Fart yet, but my first programming course was in 1983 on a TRS 80 model III with a NETWORK. We used the network mostly for printing our programs out. I still have a bit of nostalga for the old start trek game (similar to EGATrek) that we used to play during class. Tom Anyone have a TRS 80 Model III for sale?
this-is-me Posted February 9, 2005 Posted February 9, 2005 Don't you just love those TRash-80's? Who else would I be?
twbradio Posted February 9, 2005 Author Posted February 9, 2005 Back in the days when you were known for the number of DOS's you had learned. TRS-DOS, MS-DOS, DOS+, ... Tom Anyone have a TRS 80 Model III for sale?
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