Remove Close button but leave the Minimize Maximize

Posted on 2003-02-27
Medium Priority
Last Modified: 2008-02-07
Is there any way to remove the Application's Close button, but still leave the Minimize and Maximize buttons?
I've played with the APIs  GetWindowLong and SetWindowLong for over an hour. It seems like it's all or nothing.
Question by:Mach1pro
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

PsychoDazey earned 1200 total points
ID: 8034664
This article should get you the desired result:

Expert Comment

ID: 8034709
If you got to view >properties or press F4, it will bring up the properties for that report or form.  Under the format tab there will be an option listed called "close button". Just change from yes to no and the close button will not be available.

Hope this is what you are referring to.

Expert Comment

ID: 8035842
Yes, there's a property for Close Button, turn that to NO, but also remember to make the form's border style = Sizable.

Expert Comment

ID: 8035999
Glad I could help out Mach.  I had to use that same article a while back, I didn't have any issues with it so far!

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question