const int cchMax = 128; TCHAR szText[cchMax]; szText[0] = 0; #if (_ATL_VER >= 0x0700) ::LoadString(ATL::_AtlBaseModule.GetResourceInstance(), nTextID, szText, cchMax); #else ::LoadString(_Module.GetResourceInstance(), nTextID, szText, cchMax); #endif return Create(hWndParent, szText, dwStyle, nID);
	HWND Create(HWND hWndParent, LPCTSTR lpstrText, DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | SBARS_SIZEGRIP, UINT nID = ATL_IDW_STATUS_BAR)	{#if (_MSC_VER >= 1300)		return ATL::CWindowImpl< T, TBase >::Create(hWndParent, rcDefault, lpstrText, dwStyle, 0, nID);#else //!(_MSC_VER >= 1300)		typedef ATL::CWindowImpl< T, TBase >   _baseClass;		return _baseClass::Create(hWndParent, rcDefault, lpstrText, dwStyle, 0, nID);#endif //!(_MSC_VER >= 1300)	}