RE: status icon API



Hi Owen,

On Thu, 2003-04-10 at 14:10, Owen Taylor wrote:
> On Thu, 2003-04-10 at 06:23, martyn 2 russell bt com wrote:

> > The only major downfall (I thought when doing it) was the image size is
> > quite small (up to something like 24x24 I think).  
> 
> I couldn't find anything in the Microsoft docs in a quick look that
> indicated what the desired size was for the icon, or whether there
> were restrictions, but that's one thing thing we should consider
> adding ... a way of getting (and monitoring for changes) the
> desired size.

	From looking around at code samples people seem to just the
SM_CXSMICON, SM_CYSMICON icon sizes. I'm not sure what they are by
default.

	There doesn't appear to be anyway to detect icon size changes. Maybe
the return value from GetSystemMetrics() can't change without restarting
...

	But we will want this on X anyway, so it doesn't matter too much for
now.

Good Luck,
Mark.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]