www.pudn.com > testeditsrch.zip > NonClient.h, change:2002-11-18,size:515b


//////////////////////////////////////////////////////////////// 
// If this code works, it was written by Paul DiLascia. 
// If not, I don't know who wrote it. 
// Compiles with Visual C++ 6.0, runs on Windows 98 and probably NT too. 
// 
 
#pragma once 
 
///////////////// 
// handy class loads non-client metrics 
// 
class CNonClientMetrics : public NONCLIENTMETRICS { 
public: 
	CNonClientMetrics() { 
		cbSize = sizeof(NONCLIENTMETRICS); 
		SystemParametersInfo(SPI_GETNONCLIENTMETRICS,0,this,0); 
	} 
};