dickieknee Posted April 6, 2006 Share Posted April 6, 2006 $max_width=@DesktopWidth-100 $max_height = @DesktopHeight-100 $min_width=610 $min_height = 500 $width =$min_width $height= $min_height ; GUI GuiCreate("Win title", $width, $height, $WS_MAXIMIZEBOX) when i use GuiCreate with title, width and height, i get a window with a minimize and a close box in the top right corner, but no maximise box when i include $WS_MAXIMIZEBOX into GuiCreate then the window does not open but sits minimised in the taskbar have i missed something here, i am using the beta version and have #include <GuiConstants.au3> at the top of the script Thx in advance Link to comment Share on other sites More sharing options...
GaryFrost Posted April 6, 2006 Share Posted April 6, 2006 (edited) GUICreate ( "title" [, width [, height [, left [, top [, style [, exStyle [, parent]]]]]]] )GuiCreate("Win title", $width, $height, $WS_MAXIMIZEBOX) Edited April 6, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
dickieknee Posted April 6, 2006 Author Share Posted April 6, 2006 GUICreate ( "title" [, width [, height [, left [, top [, style [, exStyle [, parent]]]]]]] ) GuiCreate("Win title", $width, $height, $WS_MAXIMIZEBOX) Thanks, seems so simple now, i had not realised that the start positions werre compulsory when using styles though there still is one problem the window is now visible and when i hit the maximize box then all controls adjust in size except for the TAB which remains fixed to the$min_width and $min_height, I removed all variable associations for the width and height and just had fixed numbers but this still yielded no change in the tab size it is friday though 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