This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: X icon


Harold,

Harold wrote:
> Microsoft never comes right out and says what bloody size *all* icons
> are supposed to be in the various places in Windows. The nearest I have
> ever been able to find is the following:

So from what I understand there are 4 sizes used by windows.  
"{system|shell} {small|large}". For our purposes we only care about the
"system" sizes. ("shell small" is used in explorer and shell dialogs,
"shell large" on the desktop and one or other of these goes on the start 
menu). 

"System small" is what gets used for window titlebars & the system tray 
and *the user can change it* at will by configuring the "caption buttons" 
size in the "advanced" dialog of "display properties"->"appearance".

"System large" is what goes in the alt-tab dialog, and the size is 
determined *by your video driver*. Possibly that gets changed depending on 
the "dpi" setting of the video driver, I'm not sure.

You can find out the current settings for these system sizes using 
GetSystemMetrics.

Here's one msdn doc:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/icons/abouticons.asp

Lev


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]