hello,
for some reason, i have to create a control using winAPI in run time,
nothing fancy in the control, i just need at least access to WM_PAINT,
WM_LBUTTONxxx, WM_MOUSEMOVE only
i tried to playing first with CreateWindowEx but failed, please help.
here is my code:
ControlWnd := CreateWindowEx (0, // extended styles
'MyClass', // class
'', // caption
WS_CHILD or WS_VISIBLE, // styles
20, 20, // position
121, 25, // size
Form1.Handle, // parent
0, // identifier
HInstance, // isntance
nil); // i
thanks in advance