Re: FORM_PAINT() question



Thanks for the detailed post. I don't really have any AutoRedraw
property set, since visual studio don't show such, so I was just
wondering if the form_paint needs to be called somewhere else to be
fired up or not because for some reason , it doesn't redraw.

You should never call the Form_Paint() event handler directly, if you want
to redraw your form then call the Refresh() method instead which informs
Windows it's going to re-paint the window and calls the painting code.
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/


.



Relevant Pages

  • Re: Slow booting xp home.
    ... Changing the boot order to boot first from your hard disk might save you a half second, but you won't be able to boot from a CD until you change it back - and the time spent to do that will erase any previous time saved. ... 2- Consider what software you really want to start with Windows and also how you've configured your applications at startup ... Installing and Registering Visual Studio Express Editions Smart Device ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Slow booting xp home.
    ... What is a normal sort of boot time for an older machine? ... 30s to the windows screen? ... Installing and Registering Visual Studio Express Editions Smart Device ... Microsoft Robotics - Hardware Configuration and Troubleshooting Data ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Slow booting xp home.
    ... I assume Microsoft Fax is not working. ... The LexBce Server service terminated unexpectedly. ... Windows is loading will come on and then the desktop, ... Visual Studio Source Control and SourceSafe -» ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Slow booting xp home.
    ... 30s to the windows screen? ... A lot of it involves changing registry values or bios settings. ... Installing and Registering Visual Studio Express Editions Smart Device ... Microsoft Robotics - Hardware Configuration and Troubleshooting Data ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Difference between VC++ and UNIX
    ... It uses whatever compiler you have, in whatever language you like. ... like edit Lisp or integrate 3rd party compilers into Visual Studio. ... Windows, HP-UX, and Linux. ...
    (comp.programming)

Loading