/** * @file XTPResizePropertyPage.h * * @copyright * (c) 1998-2025 Codejock Software, All Rights Reserved. * * This source file is the property of Codejock Software and must not be * redistributed by any means without the explicit written permission of * Codejock Software. * * The use of this source code is governed by the terms and conditions specified * in the Toolkit Pro license agreement. Codejock Software grants you, as a * single software developer, the limited right to use this software on one * computer only. * * Contact Information: * support@codejock.com * http://www.codejock.com * */ /** @cond */ #if !defined(__XTPRESIZEPROPERTYPAGE_H__) # define __XTPRESIZEPROPERTYPAGE_H__ /** @endcond */ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" /** * @brief * CXTPResizePropertyPage is a multiple inheritance class derived from * CPropertyPage and CXTPResize. CXTPResizePropertyPage is used to create * a resizable CPropertyPage type object that allows its dialog items to * be resized or moved dynamically. */ class _XTP_EXT_CLASS CXTPResizePropertyPage : public CPropertyPage , public CXTPResize { /** @cond */ DECLARE_DYNCREATE(CXTPResizePropertyPage) /** @endcond */ public: /** * @brief * Constructs a CXTPResizePropertyPage object. * @param nTemplate ID of the template used for this page. * @param nCaption ID of the name to be placed in the tab for this page. If 0, then * the name will be taken from the dialog template for this page. * @param nFlags Flags that are to be passed to CXTPResize that specify the * attributes of the resizing property page. They can be one or more * of the values in the Remarks section. * @details * Styles to be added or removed can be combined by using the bitwise * OR (|) operator. It can be one or more of the following:

* xtpResizeNoSizeIcon: Do not add size icon. * xtpResizeNoHorizontal: No horizontal resizing. * xtpResizeNoVertical: No vertical resizing. * xtpResizeNoMinsize: Do not require a minimum size. * xtpResizeNoClipChildren: Do not set clip children style. * xtpResizeNoTransparentGroup: Do not set transparent style * for group boxes. */ CXTPResizePropertyPage(const UINT nTemplate = 0, const UINT nCaption = 0, const UINT nFlags = 0); protected: /** @cond */ DECLARE_MESSAGE_MAP() virtual BOOL OnInitDialog(); //{{AFX_MSG(CXTPResizePropertyPage) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI); afx_msg void OnDestroy(); //}}AFX_MSG /** @endcond */ public: DWORD m_nDialogID; /**< ID of the template used for this page. */ }; # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" /** @cond */ #endif // !defined(__XTPRESIZEPROPERTYPAGE_H__) /** @endcond */