FROM : Jeremy Dronfield
DATE : Mon Apr 11 18:44:06 2005
What did you pass for the modalForWindow: argument? If you pass nil, it
will run as a modal window instead of a sheet.
Regards,
-Jeremy
On 11 Apr 2005, at 4:04 pm, Huibert Aalbers wrote:
> I have been following some tutorials on using sheets but my
> application shows a weir behaviour. When I call [NSApp beginSheet:..
> instead of displaying the window as a sheet it displays the window,
> and when I call [sheet orderOut:sender]; [NSApp endSheet... it simply
> hides the window. The weird thing is that although the window is not
> displayed as a sheet, it is still modal to the main window.
>
> Any ideas on what I may be doing wrong? Thanks in advance,
>
> Huibert
DATE : Mon Apr 11 18:44:06 2005
What did you pass for the modalForWindow: argument? If you pass nil, it
will run as a modal window instead of a sheet.
Regards,
-Jeremy
On 11 Apr 2005, at 4:04 pm, Huibert Aalbers wrote:
> I have been following some tutorials on using sheets but my
> application shows a weir behaviour. When I call [NSApp beginSheet:..
> instead of displaying the window as a sheet it displays the window,
> and when I call [sheet orderOut:sender]; [NSApp endSheet... it simply
> hides the window. The weird thing is that although the window is not
> displayed as a sheet, it is still modal to the main window.
>
> Any ideas on what I may be doing wrong? Thanks in advance,
>
> Huibert
| Related mails | Author | Date |
|---|---|---|
| Huibert Aalbers | Apr 11, 17:04 | |
| Jeremy Dronfield | Apr 11, 18:44 |






Cocoa mail archive

