CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Location
    Las Vegas
    Posts
    539

    Moving focus to the next texbox while typing

    Dear Guruz,

    I like to allow typing a string in more than one CEdit textboxes,

    So for example if you type 5 digits it will take the focus to the next textbox,

    Whats the best way to do that ?
    Best Regards - Yovav

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: Moving focus to the next texbox while typing

    Handle the EN_CHANGE message, then get the text from the control. If it's the length you want, set the focus to the next control.

Tags for this Thread

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