By Example:
HWND hwEdit1;
HWND hwEdit2;
hwEdit1= CreateWindow( ........)
hwEdit2= CreateWindow(........)
...... some code ..............
LRESULT hwEdit1_WM_PAINT( HWND hwnd, WPARAM wParam, LPARAM lParam)
{
.... some code ......
Return 0;
}
the compiler MUST add the code to Override the Window Procedure and CATCH the Events (MESSAGE).