Advertisement

How do you draw with the GDI or whatever under Visual basic?

Started by December 01, 2000 07:10 PM
0 comments, last by dark_stalker 24 years, 1 month ago
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..


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