Skip navigation.
 
mlRe: Disabling Certain Title bar controls
FROM : John C. Randolph
DATE : Mon Jul 17 08:38:18 2006

On Jul 16, 2006, at 9:15 PM, <amritendu.<email_removed>> 
<amritendu.<email_removed>> wrote:

>
>  Hi I.S,
>
> Yeah, I used the wrong terminology .
> I am talking about the close button on the title bar,need to 
> disable it
> for some time and then enable it back.
> How do I achieve this.


That's not supported.  If you want to prevent a window from being 
closed, implement -windowShouldClose: in the window's delegate, and 
do something like show an alert sheet that tells the user why you're 
not going to let the window close.

-jcr



"This is not a book to be tossed aside lightly. Rather, it should be 
hurled with great force." -Dorothy Parker

Related mailsAuthorDate
mlDisabling Certain Title bar controls <amritendu.majumda… Jul 14, 10:32
mlRe: Disabling Certain Title bar controls I. Savant Jul 14, 14:32
mlRE: Disabling Certain Title bar controls <amritendu.majumda… Jul 17, 06:15
mlRe: Disabling Certain Title bar controls John C. Randolph Jul 17, 08:38
mlRE: Disabling Certain Title bar controls Vinay Prabhu Jul 17, 08:59
mlRe: Disabling Certain Title bar controls John C. Randolph Jul 17, 10:14
mlRE: Disabling Certain Title bar controls <amritendu.majumda… Jul 17, 11:54
mlRE: Disabling Certain Title bar controls Vinay Prabhu Jul 17, 12:05
mlRE: Disabling Certain Title bar controls <amritendu.majumda… Jul 18, 16:24