Results 1 to 3 of 3

Thread: How to paint faster??

  1. #1

    Thread Starter
    Hyperactive Member toughcoder's Avatar
    Join Date
    Nov 2002
    Location
    Near, Very Near
    Posts
    340

    How to paint faster??

    Hello every1
    Well, Now i have a borderless form. In the paint event i'm calling a function which simply uses the paintpicture method to draw something on the topleft,top middle & top right side of the form. Now, as it is a borderless form, i have used a logic implemented in the mousemove event to resize the event. When i resize the form the paint event is trigered and the function is also called. The only problem is that, I gotta move or resize the form real slow, if i do it a bit fast, the paintpicture method paints the image to slow and they r overlapped on one aonther. Is there a way to get thru this. Thanx...
    If Not VB Then Exit
    ------------------------------------------------
    visit me @ http://mzubair.50g.com/

  2. #2
    Member anjulpa's Avatar
    Join Date
    Aug 2001
    Location
    india
    Posts
    43
    the only thing i can think of is.... use bitblt
    it is faster than paintpicture, but it still may not fulfil ur purpose

    Try it.

    ppl saw this
    Die, ***** Die !

  3. #3
    Fanatic Member petrus's Avatar
    Join Date
    May 2002
    Location
    pBytes[sizeof(pBytes)/2]
    Posts
    553
    DirectGraphics does it faster.
    ICQ: 128716725

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