|
-
Feb 20th, 2002, 06:42 PM
#1
Thread Starter
New Member
Loading an image
Hello. I kind of new to VB and API, so I'll ask this to you:
Can I use the loadpicture function to load an image from disc and then use Bitblt to copy it to a device context?
I want to do this because all my other graphics methods are API too, and they print on both screen and printer. So, it is very easy for me to just pass the hdc of the screen or printer without having to say:
If (targetdisplay=doPrinter) then
printer.paintpicture ...
printer.print "This text"
else
paintpicture ....
print "This text"
endif
See? Too repetitive
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
|