use the
WS_CHILD style
in the
CreateWindowEx()
cast the
HMENU
param to an int ID number
(HMENU)IDC_MYCHILDCTRL,
I like to define them
#define IDC_MYCHILDCTRL 40001
the
hWndParent
defines the callback (wndproc) to which the controls messages will be sent.
Remember to
InitCommonControlsEx()
if using the more complex controls
You will have to code for different window sizes / resizes ect