|
-
Jan 6th, 2002, 02:55 PM
#1
Thread Starter
Fanatic Member
Screen Shots
Hi,
In my game I have a picture box (picMain) and at first I loaded a bitmap into it. then I did some bitblt drawing. now, how can I save it as a bitmap like screen shot?
Thank you,
Arie.
-
Jan 6th, 2002, 04:18 PM
#2
Copy picMain.Image into another picturebox's picture property, then use savepicture.
Z.
-
Jan 7th, 2002, 03:43 AM
#3
Fanatic Member
Why not directly PicBox.SavePicture? Just specify the PicBox.Image property as the source
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Jan 9th, 2002, 03:12 PM
#4
Thread Starter
Fanatic Member
Pic.Image = Pic.Picture - Doesn't work!
Pic.Picture = Pic.Image - Works but not good!
Saving the Image with SavePicture saves the picture I loaded at first, not the bitblted things.
What can I do?
How can I save the bitblted picture??
Help!
Thank you,
Arie.
-
Jan 10th, 2002, 06:23 AM
#5
Thread Starter
Fanatic Member
Help...
Please...
I need to save the bitblted picture into a bitmap file!!
Help!
Thank you,
Arie.
-
Jan 10th, 2002, 07:10 AM
#6
Junior Member
Hmmm
Maybe try something like Pic1.Image = Pic1.Picture
Pic1.SavePicture(blaa blaa blaa)
I KNOW its possible because I've done it before, but I can't remember how I did it. It's the IMAGE that you want though, not the picture.
I'll see if I can find my old project when I get home, but I'm prob not in Uni tomorrow so you might have to wait till Monday. Sorry.
FJ
100% of drink driving incidents are alcohol related.
-
Jan 10th, 2002, 03:17 PM
#7
Fanatic Member
Maybe it helps to have AutoRedraw = True. If it's false, then the bitmap is not persistent, so it might not be saved.
-
Jan 10th, 2002, 03:26 PM
#8
Thread Starter
Fanatic Member
It is set to False,
because if I set it to True, the bitblt is not working properly!
Please help!
Thank you,
Arie.
-
Jan 10th, 2002, 03:43 PM
#9
Fanatic Member
When set to AutoRedraw=True:
VB Code:
PicBox.Cls
' Bitblt and drawing stuff
PicBox.Refresh
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|