CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: CEdit Control

  1. #1
    Join Date
    Jan 2001
    Location
    Singapore
    Posts
    200

    CEdit Control

    I have created a CEdit control in a dialog box. However i notice that the notification message of CEdit class does not have either a BN_CLICKED or BN_DOUBLECLICKED.

    To make it worst, the the DOUBLE_CLICKED message is not sent to the CDialog whenever the user double clicks on the CEdit contol.

    I need to handle a left mouse double click on the CEdit control. Is there a way to do it?

  2. #2
    Join Date
    Apr 1999
    Location
    Davenport, Iowa, USA
    Posts
    158
    Check out this previous post of mine where someone wanted to know how to detect when the CEdit box was double-clicked.

    http://www.codeguru.com/forum/showth...hreadid=173057

    Then in the class wizard, if you look at your newly created CEdit subclass, you'll also be able to handle the single click, mouseover, etc...

    Hope this helps!

    Matt

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

Featured