okey-dokey
Your creating a moving target. The code you posted in post #7 was fine except that the "hwnd = CreateWindow(...)" call needed to be moved above the child windows.
Your code is not standard C89 (what compiler are you using), so needs modifications before it can be compiled with other compilers.
the toolbar is fine, but the status bar won't appear unless i move it
This messageboard is not a chatroom - please edit your posts to add additional information rather than spam the board with consecutive or multiple one line posts which make it both difficult and rather annoying to read the thread.Project menu --> project options, select parameters tab and add:Originally Posted by beeneto the 'compiler' field; this will ensure your code is compiled according to that standard - this will probably give rise to errors in your code which you should fix before proceeding.Code:-std=c89Get pencil/pen and paper and draw out the positions of where you expect the controls to be within the client of the main window. Now, translate what you have on paper to the screen - modifying your WM_SIZE handler to accomodate the relative positions of those controls would be a good start.Originally Posted by beene
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.