anixon Posted February 9, 2011 Posted February 9, 2011 The following compiled code creates a Window with the scripts assigned 'when compiled' Icon together with the three Standard Windows buttons including [X] for Close GUICreate(" " & $StartupTitle, 320, 105, $sLeft, $sTop) This compiled code suppresses the display of the three Standard Windows buttons including the scripts assigned 'when compiled' Icon If $GUIWinReset >= 1 Then GUICreate(" " & $StartupTitle, 320, 105, $sLeft, $sTop, $ws_border) What $ws_????? can I use that maintains the origional Window Style but simply suppresses the three Standard Windows Buttons? Help is always appreciated Ant..
KaFu Posted February 9, 2011 Posted February 9, 2011 Afaik there is not standard windows style matching your requirements. GUICreate("My GUI", Default, Default, Default, Default, $WS_SYSMENU) The icon on the upper left is part of the WS_SYSMENU style... as is the close button on the upper right. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2025-May-18) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
anixon Posted February 9, 2011 Author Posted February 9, 2011 Afaik there is not standard windows style matching your requirements. GUICreate("My GUI", Default, Default, Default, Default, $WS_SYSMENU)The icon on the upper left is part of the WS_SYSMENU style... as is the close button on the upper right.Thanks for your response very much appreciated Ant..
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