Minor problem...bad stuff

This is a discussion on Minor problem...bad stuff within the Windows Programming forums, part of the Platform Specific Boards category; okey-dokey...

  1. #16
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    okey-dokey

  2. #17
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    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.

  3. #18
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    i am using devC++ 4.9.9.2

  4. #19
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    the toolbar is fine, but the status bar won't appear unless i move it

  5. #20
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    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.
    Quote Originally Posted by beene
    i am using devC++ 4.9.9.2
    Project menu --> project options, select parameters tab and add:
    Code:
    -std=c89
    to 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.
    Quote Originally Posted by beene
    the toolbar is fine, but the status bar won't appear unless i move it
    Get 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.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Poker bad beats
    By PJYelton in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 01-15-2005, 11:42 PM
  2. How bad is bad
    By caroundw5h in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 11-12-2004, 09:26 AM
  3. good news and bad news
    By Garfield in forum A Brief History of Cprogramming.com
    Replies: 25
    Last Post: 10-27-2001, 08:31 AM
  4. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 10:08 PM
  5. Stocks 'n' stuff...
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 09-20-2001, 06:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21