I have not tested this but I think you can just call Window.Open instead of Window.Show to rebuild the window.

Richard


On Apr 11, 2006, at 12:16 AM, Brad Rhine wrote:

Hello!

Placing this code in the Open event of a window gives it the "Unified" appearance that's all the rage these days.

Declare Sub ChangeWindowAttributes Lib "Carbon" (win as WindowPtr, setAttribs as integer, removeAttribs as integer)
ChangeWindowAttributes self, 2^7 + 2^11 + 2^18, 0

But if you hide the app and bring it back to the front, a good chunk of the window "whites out" and looks really nasty.

Does anyone have a solution for professional-looking Unified windows that behave themselves? Thanks in advance!

_______________________________________________
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