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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. handlin WM_KILLFOCUS in CWnd-derived

handlin WM_KILLFOCUS in CWnd-derived

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

    hi! i've encountered serious problem, which couldnt solve for hours. i've got a couple of views splitted by CSplitterWnd in one of this views (ParentView) i dynamically create CWnd-derived object (SpinEdit) that holds CEdit and CSpinButtonCtrl (analogously to CInPlaceEdit by Chris Maunder). the problem is: i cant handle WM_KILLFOCUS message in SpinEdit window. Spy++ shows that this message isnt sent to SpinEdit window than user clicks mouse button on ParentView. maybe problem is in ParentView? it is completely owner drawn and has no more child-controls except this dynamically created SpinEdit. any help will be greatly appreciated nobody is perfect

    R 1 Reply Last reply
    0
    • M mishgun

      hi! i've encountered serious problem, which couldnt solve for hours. i've got a couple of views splitted by CSplitterWnd in one of this views (ParentView) i dynamically create CWnd-derived object (SpinEdit) that holds CEdit and CSpinButtonCtrl (analogously to CInPlaceEdit by Chris Maunder). the problem is: i cant handle WM_KILLFOCUS message in SpinEdit window. Spy++ shows that this message isnt sent to SpinEdit window than user clicks mouse button on ParentView. maybe problem is in ParentView? it is completely owner drawn and has no more child-controls except this dynamically created SpinEdit. any help will be greatly appreciated nobody is perfect

      R Offline
      R Offline
      Roger Allen
      wrote on last edited by
      #2

      This may be of help http://www.codeproject.com/dialog/killfocus.asp[^] Roger Allen Sonork 100.10016 I think I need a new quote, I am on the prowl, so look out for a soft cute furry looking animal, which is really a Hippo in disguise. Its probably me.

      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