/** * @file XTPFlowGraphMessages.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(__XTPFLOWGRAPHMESSAGES_H__) # define __XTPFLOWGRAPHMESSAGES_H__ /** @endcond */ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" class CXTPFlowGraphNode; /** * @brief * Information about the label whose editing has ended. */ struct XTP_NM_FLOWGRAPH_ENDLABELEDIT { NMHDR hdr; /**< Standard structure containing information about a notification message. */ CXTPFlowGraphElement* pItem; /**< Item whose caption will be changed. */ CString strNewString; /**< New caption for the item. */ }; /** * @brief * This notification is sent when editing is ended for a label. * The information about the edited item is sent in an * XTP_NM_FLOWGRAPH_ENDLABELEDIT structure. */ const UINT XTP_FGN_ENDLABELEDIT = (NM_FIRST - 61); /** * @brief * This notification is sent when a page is set to active. */ const UINT XTP_FGN_ACTIVEPAGECHANGED = (NM_FIRST - 62); /** * @brief * Information about the connection that has changed. */ struct XTP_NM_FLOWGRAPH_CONNECTIONCHANGED { NMHDR hdr; /**< Standard structure containing information about a notification message. */ CXTPFlowGraphConnection* pConnection; /**< Connection. */ int nAction; /**< 0 - Added, 1 - Removed. */ }; /** * @brief * This notification is sent when a connection is added or removed. An * XTP_NM_FLOWGRAPH_CONNECTIONCHANGED structure is sent containing * information about the connection that changed. */ const UINT XTP_FGN_CONNECTIONCHANGED = (NM_FIRST - 63); /** * @brief * This notification is sent when the selection is changed. This * happens when the selection is cleared, set, added, or removed. */ const UINT XTP_FGN_SELECTIONCHANGED = (NM_FIRST - 64); /** * @brief * This notification is sent when the page zoom level is changed. */ const UINT XTP_FGN_PAGEZOOMLEVELCHANGED = (NM_FIRST - 65); /** * @brief * Information about the node that has changed. */ struct XTP_NM_FLOWGRAPH_NODECHANGED { NMHDR hdr; /**< Standard structure containing information about a notification message. */ CXTPFlowGraphNode* pNode; /**< Node. */ }; /** * @brief * This notification is sent when the location of a node is changed. * The XTP_NM_FLOWGRAPH_NODECHANGED structure is sent with * information about the node that changed. */ const UINT XTP_FGN_NODELOCATIONCHANGED = (NM_FIRST - 66); /** * @brief * This notification is sent when the offset of the page is changed. * This can occur when the mouse wheel is scrolled, when the screen * is dragged, during page animation transitions, during zooming, and * during page arrangement. */ const UINT XTP_FGN_PAGESCROLLOFFSETCHANGED = (NM_FIRST - 67); /** * @brief * Information about the connection that is currently changing. */ struct XTP_NM_FLOWGRAPH_CONNECTIONCHANGING { NMHDR hdr; /**< Standard structure containing information about a notification message. */ CXTPFlowGraphConnection* pConnection; /**< Connection. */ CXTPFlowGraphConnectionPoint* pInputConnectionPoint; /**< Connection point. */ }; /** * @brief * This notification is sent when a connection is changing. An * XTP_NM_FLOWGRAPH_CONNECTIONCHANGING structure is sent containing * information about the connection that is changing. This notification * is sent during a call to CXTPFlowGraphControl::StartDragConnectionPoint. */ const UINT XTP_FGN_CONNECTIONCHANGING = (NM_FIRST - 68); /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif //#if !defined(__XTPFLOWGRAPHMESSAGES_H__) /** @endcond */