Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #11192
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Icon sizes in VO application |
| Date | Wed, 29 Nov 2017 11:41:23 +0100 |
| Lines | 55 |
| Message-ID | <f87h6lFhfldU1@mid.individual.net> (permalink) |
| References | <f874jgFekpcU1@mid.individual.net> <ovlvjb$7eo$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| X-Trace | individual.net 065COAGt1wkT3kaSXCe75Q3ZRWUAeo+fnrcnk81YmTi7yTn8Y= |
| Cancel-Lock | sha1:RudKzlFEWeNwtgikssrCAppve4U= |
| User-Agent | XanaNews/1.18.1.6 |
| Xref | csiph.com comp.lang.clipper.visual-objects:11192 |
Show key headers only | View raw
Hi Dirk,
> No problem at all to read all the icons of different size out of 1 big
> ICO-file.
yes, I have found that also.
But Windows should do this itself: if the icon has more sizes in the
same file, Windows should select the most appriate icon to display.
I don't know if this a problem specific to VO...
Wolfgang
>
> Suppose, you have a file with 2 icons (16x16 and 32x32).
> This is the code you need to read these icons:
> RESOURCE Connect_TwoIcons Icon C:\Temp\Connect.Ico
> CLASS Connect16_Icon INHERIT Icon
> METHOD Init() CLASS Connect16_Icon
> SUPER:Init(ResourceID{"Connect_TwoIcons",_GetInst()},,16,16)
> RETURN SELF
> CLASS Connect32_Icon INHERIT Icon
> METHOD Init() CLASS Connect32_Icon
> SUPER:Init(ResourceID{"Connect_TwoIcons",_GetInst()},,32,32)
> RETURN SELF
>
> Cheers, Dirk
>
> ================================================
>
> Wolfgang Riedmann wrote:
>
> > 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
--
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Icon sizes in VO application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-11-29 08:06 +0100
Re: Icon sizes in VO application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-11-29 09:31 +0100
Re: Icon sizes in VO application "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2017-11-29 09:45 +0000
Re: Icon sizes in VO application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-11-29 11:41 +0100
Re: Icon sizes in VO application Robert van der Hulst <rjvanderhulst@gmail.com> - 2017-11-29 06:15 -0800
Re: Icon sizes in VO application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-11-30 18:44 +0100
Re: Icon sizes in VO application Arne Ortlinghaus <Arne.Ortlinghaus@acs.it> - 2017-12-04 10:14 +0100
Re: Icon sizes in VO application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-12-06 13:53 +0100
csiph-web