Declare Function SetSystemUIMode Lib "Carbon" (inMode as Integer, inOptions as Integer) as Integer

    Dim OSError as Integer
    Const kUIModeContentHidden = 2
    OSError = SetSystemUIMode(kUIModeContentHidden, 0)

I'm setting up the UI mode of my app to mode 2 as above, which displays the menu bar but not the dock. This also has the side effect of disabling all of the minimise widgets in my windows though. I still need access to the minimise widget as I want to do something different with the window once it is minimised by catching it's minimised event.

Any ideas???

I've been messing around with ChangeWindowAttributes but can't seem to get it to work against the UImode behaviour.

Cheers,
Tom

All questions and answers unless otherwise stated are in Relation to Mac OS X 10.4 and later.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to