1) When i minimize my window, the satus bar disappears, how can i make it not? and how do i control which window control will go smaller and things like that?
2) how can i create line like this:
1) Usually when you minimize a window, the expected action is for the entire thing to disappear... Not sure what you mean.
2) You can create a Static control (class "STATIC") and pass it the SS_HORZEDGE style, or you can draw one yourself in your WM_PAINT with DrawEdge()
See Static Controls
When u minimizethe explorer for example, the status bat doesn't disappear..