Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Making a Bitmap Button

Making a Bitmap Button

Scheduled Pinned Locked Moved Mobile
graphicshelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    illidan99
    wrote on last edited by
    #1

    Hi, I'm using the CbitmapButton class in a dialog box. When I use the "AutoLoad" member to load the bitmaps, it's works ok. Is there a way to use the "LoadBitmaps" member instead "Autoload"?? (I have read in the help that "loadBitmap" can be used only under a window, not for in dialog use). I try it and using "LoadBitmaps" it doesn't paint the bitmaps: // Create a push button. m_MyBOTON.Create(NULL, BS_PUSHBUTTON|BS_OWNERDRAW, CRect(100,100,100,100), this, IDC_MYBOTON); m_MyBOTON.LoadBitmaps(IDB_UP, IDB_DOWN, 0, 0); Thanks in advance. Regards, Javier.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups