CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2005
    Posts
    2

    Command Bar Buttons/Bitmaps in EVC++

    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);
    Last edited by FinnHawk; July 13th, 2005 at 03:13 PM.

  2. #2
    Join Date
    Jul 2005
    Posts
    2

    Re: Command Bar Buttons/Bitmaps in EVC++

    anyone?

    Sal

  3. #3
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: Command Bar Buttons/Bitmaps in EVC++

    Would be helpful if you could provide small snapshots of how it looks currently, and how you would want it ..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured