JSeb wrote:
>I felt it would be more elegant to be at least able to specify its position in
>the resource file
Well, you can put a gadget in the resource,
and then draw the icon it the gadget's bounds.
If you wnt more fun, make it an extended gadget.
Lionscribe
--
For information on using the A
I agree with Phreak: as I wrote in the original post, there is no way I will
including TWICE the same .BMP in my resources (maybe I'm not so radical
anymore).
I now expect that the only remaining solution is to do the "conversion" from
icon to bitmap programmatically. That I was able to do (fin
Hi,
Personally, including a file twice in a resource is less elegant than doing
it programatically...
At least it takes less memory that way :-)
It also leads to better looking resource files.
~Ryan
On 10/12/07, Ben Combee <[EMAIL PROTECTED]> wrote:
>
> Yes, but just duplicate the bitmap if it
Yes, but just duplicate the bitmap if it's not too large, including it
twice in your file.
On 10/12/07, JSeb <[EMAIL PROTECTED]> wrote:
> Okay, but when I use
>
>CtlSetGraphics(pMyGraphicButton, kMY_BMP, NULL);
>
> it works fine (kMY_BMP is the resource ID of some bitmap). But if I use
> inst
Okay, but when I use
CtlSetGraphics(pMyGraphicButton, kMY_BMP, NULL);
it works fine (kMY_BMP is the resource ID of some bitmap). But if I use instead
kMY_ICON, the resource ID for my application icon (1000), it doesn't work ---
nor did I expect it to. I don't get my icon in the graphical but
On 10/11/07, JSeb <[EMAIL PROTECTED]> wrote:
> Maybe I'm missing something, but it seems CtlSetGraphics accepts only Tbmp
> resources. I cannot put an icon (tAIB) resource in there...
Icon and bitmap resources are the same thing in Palm OS, they just
have different resource types.
--
For inform
Thanks for the help. I like the idea.
Maybe I'm missing something, but it seems CtlSetGraphics accepts only Tbmp
resources. I cannot put an icon (tAIB) resource in there...
Thanks!
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company
Just put there a disabled graphical button with no frame and call
CtlSetGraphics().
If you want to display a BitmapPtr the only way is to "do it yourself" :)
Regards,
Miro
JSeb wrote:
Hi, newbie here.
I want to display the application icon on my "about" form.
Wait! Read on! I'm not _that_
Hi, newbie here.
I want to display the application icon on my "about" form.
Wait! Read on! I'm not _that_ a newbie!
I am able to do that programmatically: find the application icon's handler, get
a pointer to a bitmap from that, and WinDrawBitmap the bitmap (I don't have the
code handy, so you
Alright, I have tried and tried but the New Constructor will not let be
build multibit icons with more than 4 bit color. The 8-bit selection on the
menu is greyed out. Also I can color Bitmaps but when I run the application
they still show up black and white. I am using 3.5 and the color emulato
10 matches
Mail list logo