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. where to find NM_CUSTOMDRAW in VS2005

where to find NM_CUSTOMDRAW in VS2005

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
5 Posts 3 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.
  • S Offline
    S Offline
    subramanyeswari
    wrote on last edited by
    #1

    I am not able to find the NM_CUSTOMDRAW message in messages. How to add this message handler to the project?

    P 1 Reply Last reply
    0
    • S subramanyeswari

      I am not able to find the NM_CUSTOMDRAW message in messages. How to add this message handler to the project?

      P Offline
      P Offline
      Parthi_Appu
      wrote on last edited by
      #2

      You won't get WM_CUSTOMDRAW message for all the controls.. and also to customize the control you have to derive your own control class from the control base class


      Do your Duty and Don't expect the Result

      S 1 Reply Last reply
      0
      • P Parthi_Appu

        You won't get WM_CUSTOMDRAW message for all the controls.. and also to customize the control you have to derive your own control class from the control base class


        Do your Duty and Don't expect the Result

        S Offline
        S Offline
        subramanyeswari
        wrote on last edited by
        #3

        Thanks for your reply. I am using WM_CTLCOLOR to change the checkbox caption text color. That is working fine when themes service is stopped. When it is enabled it is not working. Some one suggested in this site to use NM_CUSTOMDRAW for that. That's why i am trying. If this doesn't can you suggest me an alternate way to change the checkbox caption text color when windows themes is on? Thanks in advance. Regards

        K 1 Reply Last reply
        0
        • S subramanyeswari

          Thanks for your reply. I am using WM_CTLCOLOR to change the checkbox caption text color. That is working fine when themes service is stopped. When it is enabled it is not working. Some one suggested in this site to use NM_CUSTOMDRAW for that. That's why i am trying. If this doesn't can you suggest me an alternate way to change the checkbox caption text color when windows themes is on? Thanks in advance. Regards

          K Offline
          K Offline
          KarstenK
          wrote on last edited by
          #4

          This is a fix in SP1: install the SP1 for VS2005. You need also the redist files for the setups.

          Greetings from Germany

          S 1 Reply Last reply
          0
          • K KarstenK

            This is a fix in SP1: install the SP1 for VS2005. You need also the redist files for the setups.

            Greetings from Germany

            S Offline
            S Offline
            subramanyeswari
            wrote on last edited by
            #5

            I checked it today. SP1 is already installed. But i am not able to change the text color when themes service is enabled. Any help?

            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