How to set window metal style with MaxGui???

Miscellaneous Forums/MacOS X Discussion/How to set window metal style with MaxGui???

Hy to Everybody.....i've bought maxgui module but there poor instructions to use it.......I want to set a window metal style with the command createwindow....

How i can???

Thanks a lot in advance......

here the program:
---------------------------------------------------------------


Local style = WINDOW_TITLEBAR|WINDOW_RESIZABLE|WINDOW_MENU|WINDOW_STATUS


MyFirstWindow:TGadget=CreateWindow("try it", 200,200,320,240,Null,style=15)

Repeat
WaitEvent()
Until EventID()=EVENT_WINDOWCLOSE

End

That's something I'd like too. The manual makes you believe you could, but reality shows difrently.

Oh... It's not that important.
But still....

Metal windows suck. Don't use them.

If there is a possibility.....why don't use it????

In the gui manual in the program ide , show the window metal ......why the guide is very poor??????

I have tryed to guess the number style.....but nothing happend......

In the gui manual in the program ide , show the window metal

You're right:



But neither my my PC under Windows or Linux nor my Mac looks like those examples. That's because I'm using different themes in all cases:





Since MaxGUI is system-level GUI, I think that each user's settings control how the windows & gadgets look with no way for MaxGUI to override that. I believe that it just uses whatever theme the user is using, which makes sense (since that's how the user wants to see things).

in OSX, to create a metal window you need to create it using the NSTexturedBackgroundWindowMask style mask.
User-settings do not affect the style of OSX windows.

A new maxgui "style" would need to be added for OSX for you to pass when creating a window, to enable the metal window functionality...
Not a big job, I wouldn't think.

I would whip up some code, but my Mac is still at the docs...