MKI_NOTIFY_EDIT_TEXT_MULTI (Plug-In Notification Command) New in Version 2020.2 |
www.CAD6.com |
The plug-in shall display a dialog that allows text editing for all texts within an extended object at once.
If the extended object contains only one text, you can handle this the same way as MKI_NOTIFY_EDIT_TEXT_SINGLE.
ParametersExt Address of the object for which a text editing dialog shall be displayed by the plug-in. Data Address of a HWND element which contains the window handle of the window to be used as parent for the plug-in's dialog.
Return ValueMKI_NOTIFY_RESULT_COPY Ext is known, the contained texts were edited by the user. MKI_NOTIFY_RESULT_IGNORE Ext is known, the contained texts were displayed to the user, but no changed were made, or this type of extended object does not include texts, or if editing all texts at once is not possible (e.g. in a table). MKI_NOTIFY_RESULT_UNKNOWN Ext is not known or task not supported, ask the other plug-ins.
Note: Since text editing may cause the extended object to change in size, the plug-in must always create a new extended object based on the previous object, but containing the new text. This new object must be created using MKI_ExtOpen and commands such as MKI_ExtAddPoint and MKI_ExtAddDataBlock. Once MKI_NOTIFY_RESULT_COPY was returned, the application will automatically execute code similar to MKI_ExtFastInsert, replacing the object Ext with the newly created extended object. The plug-in must neither call MKI_ExtAddEnd, MKI_ExtInsert, MKI_ExtClose nor MKI_ExtFastInsert itself while creating the new extended object!
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH