Re: [MBS] CocoaControlMBS: Howto NOT getting it linked with Windows builds?

2013-12-10 Thread Christian Schmitz
Am 10.12.2013 um 08:59 schrieb Osswald Oliver mailbox...@buddhism.edu: I will now try to figure out how I can change my own app to make it work according to this example. Okay. I’m using Function GetView to make it a CustomNSSearchFieldMBS and I add a SearchMenu (NSMenuItemMBS) … maybe

Re: [MBS] CocoaControlMBS: Howto NOT getting it linked with Windows builds?

2013-12-10 Thread Osswald Oliver
On 10.12.2013, at 09:05, Christian Schmitz supp...@monkeybreadsoftware.de wrote Well, I used NSButtonControlMBS here, but CocoaControlMBS should be similar. And of course make a feature request to have target properties on controls. Great! Thanks again

[MBS] CocoaControlMBS: Howto NOT getting it linked with Windows builds?

2013-12-09 Thread Osswald Oliver
I’m using CocoaControlMBS on a ContainerControl of Name CocoaLinkSearchField. In Windows builds I would like to avoid to have it linked in as well. How would I use a CocoaControlMBS in this case? I’m stuck on this … (steh auf’m Schlauch) Oliver == My CocoaLinkSearchField has a GetView,

Re: [MBS] CocoaControlMBS: Howto NOT getting it linked with Windows builds?

2013-12-09 Thread Tim Jones
That’s what the #if TargetXXX options are for. Wrap your platform-specific code in proper blocks: #if TargetMacOS //Do the Mac Stuff #elseif TargetLinux // Do the Linux stuff #else // Do the Windows stuff #endif

Re: [MBS] CocoaControlMBS: Howto NOT getting it linked with Windows builds?

2013-12-09 Thread Christian Schmitz
Hi, I put my solution here: http://www.macsw.de/plugin/NSButtonControl%20tests.zip by using container and only using it in code, I can avoid all those dlls. Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/