|
-
Jan 8th, 2002, 07:57 AM
#1
Thread Starter
Addicted Member
Drawing straight onto screen
Is there a way of drawing an image (or text) directly onto the screen (without using a transparent form).
I know you used to be able to do it with the old Amiga, but so far have had no luck on VB, I've searched the API Guide (which is sooo cool) and found Setpixel - but will this only draw on a form???
Thanks in Advance
-
Jan 8th, 2002, 08:19 AM
#2
Registered User
Here
Use API function GetDC() ,set parameter to 0 to get SCREEN's DC,and then use TextOut ,Bitblt,StretchBlt .... such API functions to complete your drawing.
You can read Dan Appleman's book of Windows API to know more about GUI API functions.(sorry i forget the book's name,maybe is "Visual Basic 5.0 Win32 API Developer(or maybe programer) guide".)
-
Jan 8th, 2002, 09:09 AM
#3
Thread Starter
Addicted Member
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
|