The MIPSDK sample illustrates the simple case of generating a ToolbarPluginInstance Icon as a fixed bitmap of 16x16 pixels in size. Empirically, it seems that this icon is automatically scaled in SmartClient to the appropriate size, however it would be optimal to know what this size is so that bitmaps can be produced that don’t require scaling, to avoid bluriness.
Since the toolbar pixel size will depend on the device DPI size, this should probably be accessed at runtime.
Is there a way to enquire the current SmartClient toolbar size?