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. The Lounge
  3. Bitmap Button

Bitmap Button

Scheduled Pinned Locked Moved The Lounge
3 Posts 2 Posters 0 Views
  • 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I currently use bitmaps as replacement of the old boring window buttons. But one problem i faced is the size of BMP files. Is there any other way that we can load other picture extension so that it would be smaller file? Another problem is that i cannot load large size BMP file, eg. bigger than 11 mb. How do we can use the HDD for cache? Thanx first!

    L A 2 Replies Last reply
    0
    • L Lost User

      I currently use bitmaps as replacement of the old boring window buttons. But one problem i faced is the size of BMP files. Is there any other way that we can load other picture extension so that it would be smaller file? Another problem is that i cannot load large size BMP file, eg. bigger than 11 mb. How do we can use the HDD for cache? Thanx first!

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

      have you considered using jpeg in place of bmp? intel have an excellent (free) jpeg library available.

      1 Reply Last reply
      0
      • L Lost User

        I currently use bitmaps as replacement of the old boring window buttons. But one problem i faced is the size of BMP files. Is there any other way that we can load other picture extension so that it would be smaller file? Another problem is that i cannot load large size BMP file, eg. bigger than 11 mb. How do we can use the HDD for cache? Thanx first!

        A Offline
        A Offline
        Anna Jayne Metcalfe
        wrote on last edited by
        #3

        Rather than use bitmap buttons, why not try this Michael Santoro's CSXButton class instead. It's a drop in CButton derived class which allows both text AND images. With this class you don't have to muck about with multiple bitmaps for the button states or include your text in the bitmap. Take a look at http://codeguru.earthweb.com/buttonctrl/bitmap_text_button.shtml
        ================================================= Andy Metcalfe - Sonardyne International Ltd Email: andy.metcalfe@lineone.net Web: http://website.lineone.net/~andy.metcalfe ================================================= "I used to be a medieval re-enactor, but I'm alright now" =================================================

        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

        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups