I have a property page with a static control area defined as

CONTROL "",IDC_TEMP_GRPH,"Static",SS_GRAYFRAME,154,44,135,129

I am handling WM_PAINT message and the following piece of code gets...