Results 1 to 3 of 3

Thread: Help!! Window Paint Problem!!!

  1. #1

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228

    Exclamation Help!! Window Paint Problem!!!

    I developed my own class to make creating windows "the hard way" easier (that is, without MFC). BUT I HAVE A MAJOR PROBLEM IT SEEMS!!! My window pops up all fine and dandy but it just a window. It has a control bar and thats pretty much it... I have found out that it seems to not be painting the client area of my window and I can't figure out y not... I have tried everything (and yes I even used the hDC = BeginPaint( hWnd, &ps ); and EndPaint( hWnd, &ps ); !!!... fancy that...) Anyone have any Ideas... I know that the are isnt being paited cuz whatever the cursor passes into the window, it stays that way until it leave the window again and is changed. Some one plz help!!!!!
    To protect time is to protect everything...

  2. #2

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    Ok wait I'm gonna change this a little... The window is being painted, i figured a problem out there... BUT!!! I had posted a message earlier about making menus through code at runtime and CornedBee suggested to look for the same functions as in the CMenu class... That worked.... found all the right functions and developed code to make menus without using resources. ONE PROBLEM, the menu never shows up. I cant figure out y There isnt a menu showing up when i've made one..... OH and its still doing that cursor thing, how do you fix that?... HELP PLZ!!
    To protect time is to protect everything...

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Do you use SetMenu?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width