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_ 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'll have to forgive my lack of details).
So everything works fine. Except I've been looking to do that in a more elegant
way. By that I mean: directly in the resource file.
If I want to include a bitmap on a form, it seems the only way is through
FORMBITMAP. This means I can use the bitmaps I define in the resource file, but
not the icons, right?
So if I want to display the application icon on a form, I have to define it
TWICE: once as a bitmap (to be used on the form), and once as an icon (to be
used as the... icon).
Did I understand correctly? Well, there is no way I will including TWICE the
same .bmp for two different purposes! even if that't just a few hundred bytes!
Is there a better way? in particular, is it possible, in the resource file, to
make a bitmap refer to an icon?
Your help is much appreciated.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/