A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can't disable close button



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 20th 09, 07:41 PM posted to microsoft.public.outlook.program_vba,microsoft.public.office.developer.vba
samwyse
external usenet poster
 
Posts: 1
Default Can't disable close button

Due to a tendency to hit the close button when I don't mean to, I have
a program that disables both the button and the system menu's "Close"
item for Outlook. Since upgrading to Office 2007, it's stopped
working. I imagine that this is because Office is drawing it's own
title bar and such. Does anyone know of a way to tell Outlook (or
Office apps in general) to make the Close button go away? Thanks!
Ads
  #2  
Old February 21st 09, 10:17 AM posted to microsoft.public.outlook.program_vba,microsoft.public.office.developer.vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Can't disable close button



With some Win32 API functions you can hook into the windows messages.
there's no difference between older version of Outlook and 2007.

OLKeeper prevents you from closing Outlook accidentally:
http://www.vboffice.net/product.html?pub=6&lang=en

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 20 Feb 2009 11:41:12 -0800 (PST) schrieb samwyse:

Due to a tendency to hit the close button when I don't mean to, I have
a program that disables both the button and the system menu's "Close"
item for Outlook. Since upgrading to Office 2007, it's stopped
working. I imagine that this is because Office is drawing it's own
title bar and such. Does anyone know of a way to tell Outlook (or
Office apps in general) to make the Close button go away? Thanks!

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Disable Send/Receive" button Ken Isaacson Outlook - General Queries 7 January 12th 09 12:41 PM
Need to disable Mail format Fonts Button. Cuneyt Deniz Outlook - General Queries 0 June 11th 08 11:52 AM
Disable button from addins Outlook 2007 Andrey_R Add-ins for Outlook 2 April 2nd 08 07:12 PM
Save and Close button gone Kevin Powell Outlook - Calandaring 1 March 17th 08 04:06 PM
Save and Close button is missing Rich Outlook - General Queries 1 January 1st 08 09:40 PM


All times are GMT +1. The time now is 02:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.