This document covers the following topics:
An MDI (Multiple Document Interface) plug-in window is very similar to an MDI Child Window. However, instead of being opened as a child of an MDI frame window created in Natural, it is used to create a dialog to appear as an MDI child window within Natural Studio itself. Note, however, that the creation of such a plug-in window is a two-step process. Firstly, the dialog is created as usual, with the PARENT attribute set to NULL-HANDLE. At this point in time, the dialog is always invisible. Secondly, the plug-in code creates an instance of the generic document wrapper class, specifying the dialog's ID as parameter, causing a new MDI child window to be opened containing the specified dialog.
Note:
Because plug-ins should harmonize with the existing Natural Studio
environment, accelerator key combinations used by Natural Studio (e.g., CTRL+N
to open a new program editor window) are processed by Natural Studio and are
not forwarded to the plug-in. Therefore, you cannot use the
ACCELERATOR attribute of any dialog
elements created in the plug-in to redefine the behavior of these reserved key
combinations.
After-Any Event, After Open Event, Before-Any Event, Before Open Event, Client-Size Event (may be suppressed), Close Event, Drag-Drop Event (may be suppressed), Drag-Enter Event (may be suppressed), Drag-Leave Event (may be suppressed), Drag-Over Event (may be suppressed), Enter Event (may be suppressed), Error Event, Leave Event (may be suppressed).