Click here to Skip to main content
15,907,910 members

Comments by Light.D.Right (Top 1 by date)

Light.D.Right 14-Nov-12 7:56am View    
for example i want to create a button with CreateWindow(
"BUTTON","Click here"
,WS_CHILD | WS_VISIBLE // style : child window
,10,10,100,30 // coordinates relative to your window
,hWndParent // the HWND of your window
,HMENU(123) // optionally an identifier - you can set it to NULL!
,hInstance // you can also pass NULL, because BUTTON is a global class!
,NULL // no data passed to the button!
);

it doesn't show anything. and yeah i put it out. But i create the Button in WM_CREATE of the wndproc.
Other words same question. How do i create Standart Controls on Layered Window?