Re: How do I use a routine that needs an HDC?
You can do this in a Windows dependent fashion, but then your code is
no longer platform independent.
The vCanvas class has a public function vDC* GetDC() which return
a pointer to the vDC for the canvas. vDC then has a protected variable
HDC _hdc which is the HDC used by the DC.
Ron King wrote:
> Hello V users,
>
> I'm working with V for windows. I have a charting library that uses an
> HDC for all plotting. How can I open a window, and then pass the HDC to
> the routine so that it can plot a graph in the window?
>
> Regards,
>
> Ron
>
> --
> To UNSUBSCRIBE, email to other-vgui-discuss-request@other.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@other.debian.org
--
Bruce E. Wampler, Ph.D.
Author of the V C++ GUI Framework
e-mail: mailto:bruce@objectcentral.com
web: http://www.objectcentral.com
Reply to: