Control Naming y Control Events Overriding (WM_ Messages)

Started by lucindom, February 14, 2007, 09:50:29 PM

Previous topic - Next topic

lucindom

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).