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. highlight the loaded bitmap

highlight the loaded bitmap

Scheduled Pinned Locked Moved C / C++ / MFC
graphics
6 Posts 5 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.
  • V Offline
    V Offline
    varun01
    wrote on last edited by
    #1

    i want to load bitmap on control button, & whenever i move cursor on that button it highlight the button, & when i again leave cursor from button, it should not highlight the button

    varun

    C S N N 4 Replies Last reply
    0
    • V varun01

      i want to load bitmap on control button, & whenever i move cursor on that button it highlight the button, & when i again leave cursor from button, it should not highlight the button

      varun

      C Offline
      C Offline
      chandu004
      wrote on last edited by
      #2

      hi ample downloads are available at codeproject as well as codeguru.com please go through them. i faced the same problem long ago and could solve it using the downloads from the above sites. gud luck.:rose::-D

      1 Reply Last reply
      0
      • V varun01

        i want to load bitmap on control button, & whenever i move cursor on that button it highlight the button, & when i again leave cursor from button, it should not highlight the button

        varun

        S Offline
        S Offline
        Sreedhar DV
        wrote on last edited by
        #3

        You have to create two bitmap resources for doing this. One is for normal state another for highlight state. On mouse over on the button you need to change the bitmap.

        Sreedhar DV [Real success is having courage to meet failure without being defeated.]

        1 Reply Last reply
        0
        • V varun01

          i want to load bitmap on control button, & whenever i move cursor on that button it highlight the button, & when i again leave cursor from button, it should not highlight the button

          varun

          N Offline
          N Offline
          Nishad S
          wrote on last edited by
          #4

          You have to customize the button.

          - NS -

          1 Reply Last reply
          0
          • V varun01

            i want to load bitmap on control button, & whenever i move cursor on that button it highlight the button, & when i again leave cursor from button, it should not highlight the button

            varun

            N Offline
            N Offline
            Naveen
            wrote on last edited by
            #5

            Use CBitmapButton instead of CButton.

            nave [OpenedFileFinder]

            N 1 Reply Last reply
            0
            • N Naveen

              Use CBitmapButton instead of CButton.

              nave [OpenedFileFinder]

              N Offline
              N Offline
              Nishad S
              wrote on last edited by
              #6

              It will not support mouse over highlight, right?

              - NS -

              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