CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    23

    question on editcontrol

    If I Initialize the member variable of an edit control in a dialog through initdialog, it gets selected. I don't know how to deselect the text. Any suggestions?


  2. #2
    Guest

    Re: question on editcontrol

    Call SetSel(-1), in the SetFocus() member function of the edit control.


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