#include <customgui_linkbox.h>
Link box custom GUI (CUSTOMGUI_LINKBOX) for the BaseLink data.
Here are the settings: LINKBOX_CUSTOMGUISETTINGS
The following is sent with the MSG_DESCRIPTION_CHECKDRAGANDDROP parent message: (Normally packed into a DescriptionCheckDragAndDrop structure.)
LINKBOX_ACCEPT_MESSAGE
◆ LinkBoxGui()
◆ ~LinkBoxGui()
◆ GetLink() [1/2]
Evaluates the link in the specified document.
- Parameters
-
[in] | doc | The document to evaluate the link in. The caller owns the pointed document. |
- Returns
- The linked object, or nullptr if the link is broken. The document owns the pointed object.
◆ SetLink()
Sets the link to point to obj.
- Parameters
-
[in] | obj | The object to link to. The caller owns the pointed object. |
- Returns
- true if successful, otherwise false.
◆ GetLink() [2/2]
Evaluates the link in doc, returning nullptr if the linked object is not an instance of instance.
- Parameters
-
[in] | doc | The document to evaluate the link in. The caller owns the pointed document. |
[in] | instance | The type to check. |
- Returns
- The linked object, or nullptr if the link is broken or of the wrong type. The document owns the pointed object.