GetControlTag

void GetControlTag(
HWND hwnd, 
UINT uCtlID, 
char *szBuf, 
int cbBuf);

Parameters

hwnd

Window handle of the property page dialog box.

uCtlID

ID of an edit control with an invalid entry. This control must have a static text control prior to it that identifies the edit control whose ID is uCtlID.

szBuf

Buffer to receive the static text.

cbBuf

The buffer size.

Comments

Fills szBuf with the text of the static control prior to the control identified by uCtlID. This function is called through the use of the ON_INVALID_ENTRY_* macros to extract the text that identifies the edit control whose entry is invalid.