SetWindowPos has a confused setting with z-order.
The first parameter pWndInsertAfter should reverse .
wndTop: mean the object (window or static) is in the bottom. for using as background picture of STATIC.
wndBottom: mean the object is in front of wndTop. for using as button or small picture of STATIC.