make window stay in one place
I am just starting to code in windows, borland c++ and in winapi... I would like to make a very simple window manager. My problem is that when I change the 'desktop area' my window doesn't stay at the bottom like the windows taskbar does.
I have found that this only happens when I code it in borland c+ builder language; it stays at the bottom when I use pure winapi calls. However I find it quite difficult to code in pure winapi. My question is, would it be possible to make the window (made in borland c++) stay at the bottom of the screen.
SystemParametersInfo(SPI_SETWORKAREA, 0, &workarea, 0);
// i set it to max, then i create the window, and then I set it accordingly to the window height, width...
thanks in advance,