Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Returns a pointer to a CWnd object when given a handle to a window.
static CWnd* PASCAL FromHandlePermanent(
HWND hWnd
);
Parameters
- hWnd
An HWND of a Windows window.
Return Value
A pointer to a CWnd object.
Remarks
If a CWnd object is not attached to the handle, NULL is returned.
This function, unlike FromHandle, does not create temporary objects.
Requirements
Header: afxwin.h