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. General Programming
  3. C / C++ / MFC
  4. CBitmapButton::Loadbitmap [modified][Solved]

CBitmapButton::Loadbitmap [modified][Solved]

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestionlearning
2 Posts 2 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.
  • A Offline
    A Offline
    alexander 1983
    wrote on last edited by
    #1

    I use CBitmapButton in a few places in my project (MFC SDI ) CBitmapButton has a function LoadBitmaps( LPCTSTR lpszBitmapResource, LPCTSTR lpszBitmapResourceSel = NULL, LPCTSTR lpszBitmapResourceFocus = NULL, LPCTSTR lpszBitmapResourceDisabled = NULL) where lpszBitmapResource, in my case is IDB_BITMAP1 loaded from the resource file . Can u tell me how to load this bitmaps from dll(export resources) ? i know to make a dll in mfc but only to export classes with math functions Thank u very much i would be much obliged if someoane can show me

    modified on Wednesday, July 7, 2010 2:34 AM

    L 1 Reply Last reply
    0
    • A alexander 1983

      I use CBitmapButton in a few places in my project (MFC SDI ) CBitmapButton has a function LoadBitmaps( LPCTSTR lpszBitmapResource, LPCTSTR lpszBitmapResourceSel = NULL, LPCTSTR lpszBitmapResourceFocus = NULL, LPCTSTR lpszBitmapResourceDisabled = NULL) where lpszBitmapResource, in my case is IDB_BITMAP1 loaded from the resource file . Can u tell me how to load this bitmaps from dll(export resources) ? i know to make a dll in mfc but only to export classes with math functions Thank u very much i would be much obliged if someoane can show me

      modified on Wednesday, July 7, 2010 2:34 AM

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Member 1925990 wrote:

      Can u tell me how to load this bitmaps from dll(export resources) ?

      There's nice tutorial here how to use CBitmapButton class.

      Member 1925990 wrote:

      i know to make a dll in mfc but only to export classes with math function

      You could start from here. Please ask google before posting.There's plenty of tutorials how to solve these problems.

      Life is a stage and we are all actors!

      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