Ejemplo n.º 1
0
/**
	TestFontStyle::Test
	Tests functionality contained within the TFontStyle class.
	a TFontStyle object is streamed to & from a file store (via CDirectFileStore) & the results are compared. 
	Attributes such as Posture, Stroke, Position, BitmapType etc are set & the result verified
*/
void TestTFontStyle::Test(TFontStyle& aFontStyle)
	{
	TestStream(aFontStyle);
	TestStyle(aFontStyle);
	TestBitmapType(aFontStyle);
	TestFontEffect(aFontStyle);
	}
Ejemplo n.º 2
0
static inline BOOL HasChildStyle(CWnd* pWnd)
	{ return TestStyle(pWnd, WS_TYPEMASK) == WS_CHILD; }