Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Icon sizes in VO application Date: Wed, 29 Nov 2017 09:31:27 +0100 Lines: 42 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: individual.net rcV8HuYsd49mQhgjk8fl0wmAZvbQuBLonze+64FwUWygJ1Lms= Cancel-Lock: sha1:+Mo2f9wwtFMeks8zZHLArItcYhE= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:11189 Hi all, Windows does not seem to behave as documented..... I was able to solve it partially using the :IconSM assign of the Window class. And I have changed the Init() method of the icons: method Init( nSize ) class myIcon super:init(ResourceID{"MYICON", _GetInst()},, nSize, nSize ) return self and in the Init() method of the Window: self:Icon := myIcon{} self:IconSM := myIcon{ 16 } Wolfgang > Hi all, > > I have a customer that is very graphics oriented - they even let > design the icons for their applications (ok, they have their own > graphics department). > Unfortunately VO seems to take only the largest icon resolution from > the icon file. Is there anything I can do to change this? > > I have created a sample icon that contains icons in the resolutions > 16x16, 24x24, 32x32, 48x48, 64x64 and 128x128. Every icon shows its > dimension (from 16 to 128), but the icon that is shown in the taskbar > (16x16 pixel) shows "128", so it is downsized from the 128x128 instead > of taking the 16x16 icon (that would show "16"). > > Has anyone any solution or played with this? > > Wolfgang --