Wednesday, March 25, 2009

How to Get a Handle to a Control

Use GetDlgItem function:

HWND GetDlgItem(
HWND hDlg, // handle of dialog box
int nIDDlgItem // identifier of control
);

No comments:

Post a Comment