/* 文字列の色を設定する */ COLORRED SetTextColor( HDC hdc, // デバイスコンテキストハンドル COLORREF crColor // 文字列の色 ); /* 説明 */ hdcの文字列の色を設定し、以前の色を返します。