Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setwindowpos</b> change size, position and ordering of window http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetWindowPos         Change Size, Position and Ordering Of Window

void SetWindowPos(hWnd, hWndInsertAfter, x, y, cx, cy, wFlags)
HWND hWnd;
HWND hWndInsertAfter;
int x; /* Upper left corner */
int y; /* Upper left corner */
int cx; /* Width */
int cy; /* Height */
WORD wFlags;

                        wFlags
                |----------------|
                | SWP_DRAWFRAME  |
                | SWP_HIDEWINDOW |
                | SWP_NOACTIVATE |
                | SWP_NOMOVE     |
                | SWP_NOSIZE     |
                | SWP_NOREDRAW   |
                | SWP_NOZORDER   |
                | SWP_SHOWWINDOW |
                +----------------+

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson