CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2004
    Posts
    1,352

    Mask routine for an Edit Control

    Anyone have an example of a mask function for an Edit control?

    I don't want to use MFC or subclass an MFC derived Class.
    Rate this post if it helped you.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Mask routine for an Edit Control

    Subclass the control and handle the WM_CHAR and WM_KEYDOWN messages in subclassed window procedure.
    Victor Nijegorodov

  3. #3
    Join Date
    Jun 2004
    Posts
    1,352

    Re: Mask routine for an Edit Control

    Quote Originally Posted by VictorN View Post
    Subclass the control and handle the WM_CHAR and WM_KEYDOWN messages in subclassed window procedure.
    Do you have an example of that for WINAPI not MFC?
    Rate this post if it helped you.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Mask routine for an Edit Control

    Victor Nijegorodov

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