How do you draw with the GDI or whatever under Visual basic?
In my book Tricks of the Windows game programming gurus, it talks about using the GDI or something. How do you do this in VB?? I will probably figure it out right after I post, but just incase..
thanks!
Online RPGs.. Almost like another life! Except for whenswitching back to real life, sometimes I forget there isn'ta profanity filter..
December 05, 2000 09:30 AM
If the form doesn''t have an hDC property, then you can use the WIN32 API GetDC function and pass your forms hWnd property to it to return an HDC for drawing.
VB Supports some GDI drawing functions I thought already. If not, you can use the regular WIN32 ones.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement