|
-
Mar 9th, 2001, 06:16 AM
#1
Thread Starter
New Member
Hi guys,
I have started to write card game in vb. But i am having problems with card faces. I am using cards32.dll api functions to load the card faces to pictureboxes, this is OK but when the app lost focus i cant see the card in picturebox again. So i set picturebox`s AutoRedraw property to true but in this time i cant see image.
(I think this problem is caused by that i am not using the PictureBox.Picture property for loading card faces - i am using Picturebox.hDC - )
(And i think this problem can be solved Gdi32.dll api functions)
If anyone can help me??
-
Mar 9th, 2001, 07:46 AM
#2
Fanatic Member
Use Picturebox.Refresh after drawing to an Autoredraw picturebox...
That should fix the problem.
-
Mar 9th, 2001, 12:20 PM
#3
Thread Starter
New Member
It`s worked
Thanks a lot!
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
|