Results 1 to 15 of 15

Thread: BitBlt anyone? :)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Croatia
    Posts
    200
    Here's maybe an unusual question...

    Is there any way of using BitBlt with an StdPicture object? Like converting the picture handle to a DC and then performing the BitBlt?

    If anyone knows something about this, please reply.

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Converting is the wrong word, an Stdpicture is a bitmap which you need to attach to a DC, this is easiest done by using a picturebox, but can also be done by creating an offscreen DC using createcompatibleDC and attaching it to the bitmap with selectobject. OffscreenDC's consume resources too, so you have to remove it later on using ReleaseDC.
    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

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Croatia
    Posts
    200
    Thanks a lot kedaman!

    I'll stick to the API, 'coz it's waaay faster than adding a picture to a picturebox

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Btw: Cool AV Kedaman Is she from SD3?

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    It's not slow, but it consumes your resources. Be careful playing with the api's
    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.

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    oh thanks fox'! Sas idea to change it
    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.

  7. #7
    Lively Member
    Join Date
    Jun 2000
    Posts
    124

    Exclamation SD3?!

    Isn't that the princess from ChronoTrigger?
    On Error Resume Screaming...

  8. #8
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Yeah it is from CT, mine is too.
    You can get one like it by typing in 'chrono trigger dance party' at www.yahoo.com
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  9. #9
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    where can i get the game from?
    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.

  10. #10
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Get it from the top 100 or anything; i dont want to send it over to u in case i get sued. search altavista for "chrono trigger rom"
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  11. #11
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Sorry, i cant send it over
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  12. #12
    Lively Member
    Join Date
    Jun 2000
    Posts
    124

    Cool For the Chrono Trigger Rom

    Try Plasticman.org, it has a ton of good roms.

    Makes sure you do .org, .com is a plastic manufacturing company.

    And I'm gonna check out that dance party thing.
    On Error Resume Screaming...

  13. #13
    Lively Member
    Join Date
    Jun 2000
    Posts
    124

    Cool My apologies...

    Sorry to Sastraxi for grabbing the same character as him (her maybe? wouldn't want to offend anyone) but I gotta go with a dark character of some sort, what with my username being DarkJedi9. It just wouldn't do to have a nice friendly avatar.
    On Error Resume Screaming...

  14. #14
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Thats allright, I just changed mine to Dalton (that bloke that repairs the Epoch).

    He's evil, he's cool.... and he's a scardey cat!
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  15. #15
    Lively Member
    Join Date
    Jun 2000
    Posts
    124

    Cool

    He's pretty cool looking. Nice choice.
    On Error Resume Screaming...

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