Click to See Complete Forum and Search --> : Gdi+


SandyG
May 6th, 2004, 11:02 PM
Hello Guru's,

How to obtain DC of controls such as button,

edit box etc in MFC when using GDI+.

ovidiucucu
May 22nd, 2004, 08:17 AM
You don't need GDI+ to get a DC, just...
Using Windows SDK
GetDC, GetDCEx, GetWindowDC functions.
Using MFC
CWnd::GetDC, CWnd::GetWindowDC functions or CWindowDC, CClientDC classes.