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 button.

An ID is just an integer, right? I assume that if a function expects a tBMP ID, 
it checks for the ID in a bitmap resource table, which has to be separate from 
the icon resource table (since the same ID can be used for a bitmap and an 
icon).

So in my case, kMY_ICON is simply not known as a bitmap ID!

Do I get this right?

I appreciate your help!
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to