Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2008 Apr : HWnd to HDC

www.cryer.info
Managed Newsgroup Archive

HWnd to HDC

Subject:HWnd to HDC
Posted by:"bob@home.com" (b..@home.com)
Date:Wed, 9 Apr 2008 02:35:58

How do I find the associated canvas information (HDC) for a HWnd that
might be passed to my routine?  Basically I'm looking to pass a HWnd to
a function, associate a TCanvas to draw on it, and figure out the things
I need to know about HWnd for drawing on the canvas (dimensions, etc).

Replies:

www.cryer.info
Managed Newsgroup Archive