Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

[MBS] Good size for a badge in the icon of my app in the Dock and Application Switcher? (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] NSStatusItemMBS sometimes unresponsive
Next thread: Re: [MBS] [ANN] 11.0pr13


Re: [MBS] MBS Real Studio Audio Plugin crash   -   Garth Hjelte
  [MBS] Good size for a badge in the icon of my app in the Dock and Application Switcher?   -   Arnaud Nicolet
   Re: [MBS] Good size for a badge in the icon of my app in the Dock and Application Switcher?   -   Arnaud Nicolet
   Re: [MBS] Good size for a badge in the icon of my app in the Dock and Application Switcher?   -   Christian Schmitz

[MBS] Good size for a badge in the icon of my app in the Dock and Application Switcher?
Date: 10.01.11 21:20 (Mon, 10 Jan 2011 21:20:03 +0100)
From: Arnaud Nicolet
Hello,

I'm currently using this code to show a picture as the Dock tile for
my application:
call app.OverlayApplicationDockTileImageMBS(CGCreateImageMBS(p,m))

This works great, except this is confusing to the user: the real icon
of my application is then no longer shown and the user can't know
immediately which icon my application is (especially using the
Application Switcher with Command-Tab).
So, I'd like to put my app's icon above the picture of the tile (at
the lower-right corner, like a badge). I'm wondering at what size I
should draw the badge (i.e what is the "full size" of the Dock icon,
when it'd be at its maximum size). There does not seem to be a width
or height for the Dock in the plugin.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Good size for a badge in the icon of my app in the Dock and Application Switcher?
Date: 10.01.11 22:44 (Mon, 10 Jan 2011 22:44:59 +0100)
From: Arnaud Nicolet
Le 10 janv. 11 à 21:32, Christian Schmitz a écrit:

> Am 10.01.2011 um 21:20 schrieb Arnaud Nicolet:
>
>> Hello,
>>
>> There does not seem to be a width
>> or height for the Dock in the plugin.
>
> CFPreferencesMBS + "com.apple.dock" as application identifier +
> tilesize as key. :-)

Thanks, that did it!
And I also learnt it's the same as doing this:
defaults read "com.apple.dock" "tilesize"
(was curious to try ;-) )
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Good size for a badge in the icon of my app in the Dock and Application Switcher?
Date: 10.01.11 21:32 (Mon, 10 Jan 2011 21:32:33 +0100)
From: Christian Schmitz

Am 10.01.2011 um 21:20 schrieb Arnaud Nicolet:

> Hello,
>
> There does not seem to be a width
> or height for the Dock in the plugin.

CFPreferencesMBS + "com.apple.dock" as application identifier + tilesize as key. :-)

Greetings
Christian