Results 1 to 6 of 6

Thread: How to KEEP a picture

  1. #1
    Guest

    Angry

    Okay, I'm using the SetPixel API to draw some pixels
    onto Picture1.hDC. But whenever the window Refreshes
    or Redraws or whatever, the pixels disappear. How do I
    keep them there??

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Cool

    HEheh, Not really the same thing. If you're drawing within your own app: You can always set the autoredraw property to true, and use the refresh keyword if needed. Or set the picture property to image property.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Guest
    When i set the autoredraw to true or when I refresh it,
    the pixels disappear.

    What did you mean by setting the picture property to image propery?

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Exclamation

    I mean that if you use any drawing methods, they would be drawn the image, and the picture will update it(unless you have autoredraw) That's weird, autoredraw should work
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5
    Guest
    Is it suppose to be on or off? I tried it when it was on and nothing happened...

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Wink

    It's false by default. Could you post your form or something?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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