Jump to content

[Solved] Window with only X (close) button


1RV34
 Share

Recommended Posts

I'm trying to achieve this kind of GUI without the minimize button but only the close button.

Posted Image (screenshot from a window from the Koda FormDesigner)

I've tried just removing $WS_MINIMIZEBOX but I ended up having no title bar at all.

Anyone with a push (or kick XD) in the right direction?

Edit: ok it turned out removing $WS_MINIMIZEBOX in Koda also was missing $WS_CAPTION that's why that happened to me...

My window now is without the minimizebox...

Posted Image

But can I make it look more like a kind of modal or something like in the first screenshot?

Edited by 1RV34
MsgBox(0x40040, "", "Hello Forum!")
Link to comment
Share on other sites

Please search the forum for "gui remove minimize maximize" and you will find a lot of threads like one.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Unfortunately I can't access dropbox because it is blocked here at my company.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Unfortunately I can't access dropbox because it is blocked here at my company.

one moment :oops:

Edit: http://www.dhost.info/1rv34/s/a/01.png & http://www.dhost.info/1rv34/s/a/02.png (copy & paste link, server doesn't allow direct linking)

First screenshot: what I have now.

Second screenshot: what I would like to have.

Edited by 1RV34
MsgBox(0x40040, "", "Hello Forum!")
Link to comment
Share on other sites

Just spend the time trying out every style in the help file XD

But found it!

For other's who are looking for the same: the extended style $WS_EX_TOOLWINDOW does miracles!

MsgBox(0x40040, "", "Hello Forum!")
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...