Menu

[WIN32] Intercepting msgs

2003-01-06
2012-09-26
  • Nobody/Anonymous

    This is probably a very lame question:
    I need to know exactly what nessages and in which order are sent to the queue whenever i click over an edit control in order to decide what message i need to intercept in my program.
    I cant find a way to see that, and could not find this at MSDN either.
    Can anyone help me?

     
    • Nobody/Anonymous

      What are you attempting to accomplish?

      Kip

       
    • Nobody/Anonymous

      Hey Kip,

      Im trying to work something with my edit controls here:
      -When some edit controls are clicked (or receive focus through the keyboard tab key), depending if a var is set to 0 or 1, a messagebox should pop warning the user about what he should fill this edit fields with.

      I really dont know what message are sent whenever a edit control receive keyboard/mouse focus in order to intercept it.

       
    • Nobody/Anonymous

      Oh, i found out a way to do it :)
      EN_SETFOCUS

       
    • Nobody/Anonymous

      You could always subclass the edit controls and then intercept the WM_SETFOCUS message.

      Kip

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.