|
-
Feb 4th, 2001, 03:54 PM
#1
Thread Starter
New Member
Hi Guys,
Beware I'm a newbie at VB.. (sorry 
I've been toying with VB since perhaps Dec. To date i've only done some very simple little interface app's. So I want to try and work out some basic GFX issues in VB. but i'm stuck already 
I wanted to load a bitmap into a source picture box, and then copy pixels from it at will into another picturebox. But, I just don't know why certain things occur. ?
The loading, & copying I can basically do (well i'm getting the idea .. But what i can't do is this. I wanted to hide the SRC picturebox and use it as my hidden array so to speak, but when it's hidden the point command doesn't appear to return any colours from it. ?
next, if my picture is larger than the source picturebox, when i'm reading points from it, it only appears to return the visable pixels, everything else is clipped ?.. I'm starting to feel I need to write a load bitmap to array function ?
oh, and finally, if I load a bitmap into a picture box, then have a copy loop (pixel by pixel), it seems to run the copy loop first, and then load the picture..
Well i'm lost with this, not to mention a lot of other VB stuff, but that's enough dumb questions for one day......
Any help would be greatly appreciated.
-
Feb 4th, 2001, 04:12 PM
#2
Monday Morning Lunatic
Try the PaintPicture method:
Code:
Picture1.PaintPicture Picture2.Picture, ...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 5th, 2001, 12:37 PM
#3
Thread Starter
New Member
Parksie:
Thanks, that worked perfectly..
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
|