twbradio 0 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? Share this post Link to post Share on other sites
CyberSlug 6 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! Share this post Link to post Share on other sites
twbradio 0 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? Share this post Link to post Share on other sites
sykes 0 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? Share this post Link to post Share on other sites
twbradio 0 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? Share this post Link to post Share on other sites
this-is-me 6 Posted February 9, 2005 Don't you just love those TRash-80's? Who else would I be? Share this post Link to post Share on other sites
twbradio 0 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? Share this post Link to post Share on other sites