Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

Remove Close button but leave the Minimize Maximize

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.
0
Mach1pro
Asked:
Mach1pro
  • 2
1 Solution
 
PsychoDazeyCommented:
This article should get you the desired result:
http://support.microsoft.com/default.aspx?scid=kb;en-us;245746
0
 
caw81677Commented:
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.
0
 
techGalCommented:
Yes, there's a property for Close Button, turn that to NO, but also remember to make the form's border style = Sizable.
0
 
PsychoDazeyCommented:
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!
0

Featured Post

Independent Software Vendors: 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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now