Re: Drawing Native OSX Windows with D

2015-11-29 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-29 03:30, Mike McKee wrote: Currently nothing like that exists on OSX, but does exist on Windows via the Inno Setup and InstallShield platforms. I would like to add that if you want to distribute an application on OS X you should do that according to the standards of the platform,

Re: Drawing Native OSX Windows with D

2015-11-29 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-29 09:03, Mike McKee wrote: A few interesting things here. I tried to do these things via the new Apple language, Swift. * You can enum windows, but unlike Microsoft Windows, you have no permissions to hide a window. BTW, hiding a window is a window object method called orderOut(nil),

Re: Drawing Native OSX Windows with D

2015-11-29 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-29 03:30, Mike McKee wrote: I'm coding an antivirus application for the Mac, using a third-party antivirus engine, in Qt/C++. It needs some things to run under high privileges. As far as I know, you can't do that with a DMG package, but can do it with a PKG package. You can do that

Re: Drawing Native OSX Windows with D

2015-11-29 Thread Mike McKee via Digitalmars-d-learn
A few interesting things here. I tried to do these things via the new Apple language, Swift. * You can enum windows, but unlike Microsoft Windows, you have no permissions to hide a window. BTW, hiding a window is a window object method called orderOut(nil), and they only permit it on your own

Re: Drawing Native OSX Windows with D

2015-11-28 Thread Mike McKee via Digitalmars-d-learn
On Saturday, 28 November 2015 at 14:05:37 UTC, Jacob Carlborg wrote: If you can't/don't want to go with the App Store then why not the second option? I'm coding an antivirus application for the Mac, using a third-party antivirus engine, in Qt/C++. It needs some things to run under high privil

Re: Drawing Native OSX Windows with D

2015-11-28 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-28 11:40, Mike McKee wrote: Does anyone have a demo that shows how I can call the native OSX API to draw a basic window that's minimizable and can be closed? I was thinking of making an installer for the Mac, you see. So for instance, people would download a very thin .app file and ru

Re: Drawing Native OSX Windows with D

2015-11-28 Thread Guillaume Piolat via Digitalmars-d-learn
On Saturday, 28 November 2015 at 10:40:19 UTC, Mike McKee wrote: Does anyone have a demo that shows how I can call the native OSX API to draw a basic window that's minimizable and can be closed? I was thinking of making an installer for the Mac, you see. So for instance, people would download

Drawing Native OSX Windows with D

2015-11-28 Thread Mike McKee via Digitalmars-d-learn
Does anyone have a demo that shows how I can call the native OSX API to draw a basic window that's minimizable and can be closed? I was thinking of making an installer for the Mac, you see. So for instance, people would download a very thin .app file and run that. Because it only uses native w