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

This is a discussion on VC++6, MFC: how to make like "VB autoRedraw" ?? within the Windows Programming forums, part of the Platform Specific Boards category; once i draw something on the dialog, move out , then in . it was cleared. how to autoredraw? THX ...

  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
    Posts
    5,439
    Try giving your parent Window the class style WS_CLIPCHILDREN.
    Code:
    int main(void){srand(time(0));for(double l=rand(),l0=0,l00=0;;l0+=0.1){for(double l000=0;l000
    <1;l000+=.001,l+=((double)rand()/RAND_MAX)/0x64,l00+=((sin(l*0x8*atan(l0)*l000-(l0*0x8*atan
    (l)))*0.5)+0.5)){l00-=floor(l00);for(size_t l0000=0,l00000=(size_t)(0x50*(l00));l0000<l00000;++l0000
    )putchar(0x20);putchar(0x61+(int)((double)rand()/RAND_MAX*0x1a));putchar('\n');}}return 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, 09:19 AM
  2. "Cannot make pipe"
    By crepincdotcom in forum C Programming
    Replies: 5
    Last Post: 08-16-2004, 12: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, 06:25 PM
  4. How to make scroll bar for MFC?
    By Kristian25 in forum Windows Programming
    Replies: 4
    Last Post: 03-05-2003, 06:15 AM
  5. MFC Controls and Thread Safety :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 12-06-2002, 10:36 AM

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