FinnHawk
July 12th, 2005, 05:39 PM
I am trying to figure out the answers to my questions for Embedded Visual C++ (Pocket PC), altho if you know how to do it in regular Visual C++ that would definately be useful too.
Q 1. How do you right-align bitmaps/buttons placed on a menu/command/tool bar?
Q 2. Can you resize a button/bitmap so that's it's wider than the default square dimensions?
Q 3. How do I make the bitmap unclickable, so that the image (background color) doesn't change when you click on it.
Currently I have a Toolbar resource (with a row of bitmap buttons) called IDR_TOOLBAR that I'm adding using the following code:
CommandBar_AddBitmap(mbi.hwndMB, ghInst, IDR_TOOLBAR, 1, 0, 0);
Q 1. How do you right-align bitmaps/buttons placed on a menu/command/tool bar?
Q 2. Can you resize a button/bitmap so that's it's wider than the default square dimensions?
Q 3. How do I make the bitmap unclickable, so that the image (background color) doesn't change when you click on it.
Currently I have a Toolbar resource (with a row of bitmap buttons) called IDR_TOOLBAR that I'm adding using the following code:
CommandBar_AddBitmap(mbi.hwndMB, ghInst, IDR_TOOLBAR, 1, 0, 0);