i want to make an edit control not exceed 8 chars when the user types info.
Ideas?
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