Pelles C forum

Pelles C => Feature requests => Topic started by: lucindom on February 14, 2007, 09:50:29 PM

Title: Control Naming y Control Events Overriding (WM_ Messages)
Post by: lucindom on February 14, 2007, 09:50:29 PM
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).