Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves the current pen color.
COLORREF GetDCPenColor( ) const;
Return Value
If the function succeeds, the return value is the COLORREF value for the current pen color.
If the function fails, the return value is CLR_INVALID.
Remarks
This member function utilizes the Win32 function GetDCPenColor, as described in the Windows SDK.
Requirements
Header: afxwin.h