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


SandyG
May 7th, 2004, 12:02 AM
Hello Guru's,

How to obtain DC of controls such as button,

edit box etc in MFC when using GDI+.

ovidiucucu
May 22nd, 2004, 09: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.