Results 1 to 2 of 2

Thread: PaintPicture

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Which one is more efficient?

    100 image controls with loaded pictures

    or

    100 picture box with PaintPicture method


    I read somewhere that image controls take up less memories than picture box.

    Thank you.
    Chemically Formulated As:
    Dr. Nitro

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    It depends what you want to do.The 100 image controls will certainly take up less memory but they dont have a device context.The picture boxes take up more memmory but have a DC. Although i would recommend using BitBlt API instead of PaintPicture cos BitBlt is much faster.
    So the answer will be what you want to do with the pictures.If they just stay in the form use image controls else use picture box.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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