Results 1 to 2 of 2

Thread: [RESOLVED] Control.Enter and Control.Leave in ATL c++

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    608

    Resolved [RESOLVED] Control.Enter and Control.Leave in ATL c++

    in c#, there're Control.Enter and Control.Leave.
    I want to Fire Fire_Enter and Fire_Leave events for my ATL control and do something (Show/Hide children).

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    608

    Re: Control.Enter and Control.Leave in ATL c++

    Fire_Enter event in OnSetFocus when control get focus.
    Fire_Leave event in OnKillFocus if the control itself and all children are not focused.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width