HICON CBCGPGlobalUtils::GetWndIcon | ( | const CWnd * | pWnd, |
BOOL * | bDestroyIcon = NULL , |
||
BOOL | bNoDefault = TRUE |
||
) |
Returns window icon.
Call this method to retrieve a window icon.
pWnd | A pointer to a window whose icon should be retrieved. |
bDestroyIcon | A pointer to boolean, that contains TRUE when the method returns if the caller is responsible for calling DestroyIcon. |
bNoDefault | TRUE - do not return default application icon if window specific icon was not found. |