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
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
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,
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
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/