Re: [MBS] NSDockTile of window

2014-11-24 Thread Dean Davis
So is it easy to get a XoJo picture to be a docktile now?
To me it looks like I need a subclass of CustomNSViewMBS
I need to convert my picture to a NSImage
Then in the drawatpoint event of the CustomNSViewMBS I draw the NSImage?

Or am I missing a much easier way?
I no longer see example code of drawing an application dock tile or window
dock tile.

Thanks for any advice,
Dean Davis

On Fri, Nov 21, 2014 at 10:21 AM, Christian Schmitz 
supp...@monkeybreadsoftware.de wrote:


 Am 21.11.2014 um 16:01 schrieb Dean Davis after...@gmail.com:

  How do I get to the NSDockTile of a window in my app so I can change the
  DockTile of a collapsed window?

 dim w as new NSWindowMBS(window1)
 dim d as NSDockTileMBS = w.dockTile

 and than use d.

 Sincerely
 Christian

 --
 Read our blog about news on our plugins:

 http://www.mbsplugins.de/

 ___
 Mbsplugins_monkeybreadsoftware.info mailing list
 mbsplugins@monkeybreadsoftware.info

 https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] NSDockTile of window

2014-11-24 Thread Christian Schmitz

Am 24.11.2014 um 20:08 schrieb Dean Davis after...@gmail.com:

 So is it easy to get a XoJo picture to be a docktile now?
 To me it looks like I need a subclass of CustomNSViewMBS
 I need to convert my picture to a NSImage
 Then in the drawatpoint event of the CustomNSViewMBS I draw the NSImage?

you could use an NSImageViewMBS instead and give it a NSImageMBS with the image.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] NSDockTile of window

2014-11-21 Thread Dean Davis
How do I get to the NSDockTile of a window in my app so I can change the
DockTile of a collapsed window?

I see how to get to the applications Dock Tile just not a windows.

Thanks,
Dean Davis
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] NSDockTile of window

2014-11-21 Thread Christian Schmitz

Am 21.11.2014 um 16:01 schrieb Dean Davis after...@gmail.com:

 How do I get to the NSDockTile of a window in my app so I can change the
 DockTile of a collapsed window?

dim w as new NSWindowMBS(window1)
dim d as NSDockTileMBS = w.dockTile

and than use d.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info