Thread: MFC newbie --- simple problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    30
    Do you know much of the Win32 API? If you're learning MFC, from what I've heard, knowing some of the API will help you when you need to do something that the API can do, but MFC can't. Although I dont personally know any MFC, I know the Win32 API, and I'd redraw the screen using something like UpdateWindow or InvalidateRect

    If you want to redraw the entire screen, I'd probably Invalidate the entire window rect which will cause the whole area to be redrawn. Like this:

    Code:
    InvalidateRect(hWnd, NULL, TRUE);
    UpdateWindow(hWnd);
    If theres an easier way to do it in MFC, I'll let someone else post that
    Last edited by TheDan; 04-02-2006 at 11:17 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  2. simple JPEG problem
    By the bassinvader in forum C Programming
    Replies: 6
    Last Post: 10-05-2006, 05:45 PM
  3. Simple Gets() problem
    By akira181 in forum C++ Programming
    Replies: 17
    Last Post: 05-25-2006, 03:28 AM
  4. problem with MFC application
    By Micko in forum Windows Programming
    Replies: 1
    Last Post: 07-12-2004, 05:36 PM
  5. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM