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. PropertySheet - ON_NOTIFY is not working

PropertySheet - ON_NOTIFY is not working

Scheduled Pinned Locked Moved C / C++ / MFC
4 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.
  • K Offline
    K Offline
    ksrameshkanth
    wrote on last edited by
    #1

    Hi, I have property wizrad application which has customized button(Owner Draw). I am trying to get control notification from those buttons which has focus and hitting enter key. I am handling ON_NOTIFY message on Propertysheet which is parent for those buttons. Even I tried with over writing PreTranslatedMessage(), but it is not working. Can anyone give me a suggestion? Thanks, Rameshkanth

    K 1 Reply Last reply
    0
    • K ksrameshkanth

      Hi, I have property wizrad application which has customized button(Owner Draw). I am trying to get control notification from those buttons which has focus and hitting enter key. I am handling ON_NOTIFY message on Propertysheet which is parent for those buttons. Even I tried with over writing PreTranslatedMessage(), but it is not working. Can anyone give me a suggestion? Thanks, Rameshkanth

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

      Isnt this a KEYDOWN message? I suggest you trace all messages in PreTranslatedMessage() to find the right.:~

      Greetings from Germany

      K 1 Reply Last reply
      0
      • K KarstenK

        Isnt this a KEYDOWN message? I suggest you trace all messages in PreTranslatedMessage() to find the right.:~

        Greetings from Germany

        K Offline
        K Offline
        ksrameshkanth
        wrote on last edited by
        #3

        Yah you are right. But how do i assure that message comes from so and so control( like ON_NOTIFY)

        K 1 Reply Last reply
        0
        • K ksrameshkanth

          Yah you are right. But how do i assure that message comes from so and so control( like ON_NOTIFY)

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

          1. MSG has a hwnd 2. GetFocus() return the CWnd with focus and check this out and "do stuff"

          Greetings from Germany

          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