[Qt-interest] how to remove maximize button in Mac OS X tool window
Andy Brice
andy at oryxdigital.com
Wed Jan 13 23:09:56 CET 2010
Jainish Jain wrote:
>
> Hi,
>
>
>
> You can try for ChangeWindowAttributes() function in Carbon API
>
>
>
> You will need to get some windowRef to pass to his function which you
> can get using qt_mac_window_for((QWidget *)
>
>
>
I tried this:
ChangeWindowAttributes( qt_mac_window_for( this ), kWindowNoAttributes,
kWindowResizableAttribute );
straight after the call to setUi(). It made no difference. Should I have
used a different flag?
best regards
Andy Brice
http://www.perfecttableplan.com
http://www.successfulsoftware.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100113/2291e124/attachment.html
More information about the Qt-interest-old
mailing list