i want to make an edit control not exceed 8 chars when the user types info. Ideas?
Posted on 2001-05-27 06:52:00 by elmenda
you need to send this message to your edit control
invoke SendMessage,hEdit,EM_LIMITTEXT,8,0
the parameters are defined below.
SendMessage( 
  (HWND) hWnd,              // handle to destination window 
  EM_LIMITTEXT,             // message to send
  (WPARAM) wParam,          // text length
  (LPARAM) lParam          // not used; must be zero
smurf
Posted on 2001-05-27 07:03:00 by smurf