Thread: VC++6, MFC: how to make like "VB autoRedraw" ??

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    88

    Smile VC++6, MFC: how to make like "VB autoRedraw" ??

    once i draw something on the dialog,

    move out , then in .

    it was cleared.

    how to autoredraw?

    THX ~~~

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Try giving your parent Window the class style WS_CLIPCHILDREN.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MFC in an empty project
    By cunnus88 in forum Windows Programming
    Replies: 0
    Last Post: 10-09-2005, 10:19 AM
  2. "Cannot make pipe"
    By crepincdotcom in forum C Programming
    Replies: 5
    Last Post: 08-16-2004, 01:43 PM
  3. How Could I Make My Own Wizard in MFC?
    By WiKiDJeFF in forum C++ Programming
    Replies: 2
    Last Post: 05-05-2003, 07:25 PM
  4. How to make scroll bar for MFC?
    By Kristian25 in forum Windows Programming
    Replies: 4
    Last Post: 03-05-2003, 07:15 AM
  5. MFC Controls and Thread Safety :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 12-06-2002, 11:36 AM
Website Security Test