Target Specific Window

I’m currently building an app that uses MS Office automation on the Windows version.

How can I exclude that code on the Mac OS build? I know I can use #ifs, but what about window properties? Can I exclude a whole window based on target?


you cannot exclude the window… but you can show or not show it based on target…

may I ask why you are being platform specific at that high a level?