Skip to content

Commit 43fb4c3

Browse files
committed
Clarify NPPM_MODELESSDIALOG
1 parent 79bb2a8 commit 43fb4c3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

content/docs/plugin-communication.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,17 +1738,16 @@ see menuCmdID.h for all possible values.
17381738
---
17391739

17401740
#### [2036] **NPPM_MODELESSDIALOG**
1741-
*For each created dialog in your plugin, you should register it (and unregister while destroy it) to Notepad++ by using this message.
1742-
If this message is ignored, then your dialog won't react with the key stroke messages such as Ctrl-C, Ctrl-V or TAB key.
1743-
For the good functioning of your plugin dialog, you're recommended to not ignore this message.*
1741+
*For each modeless dialog created in your plugin, you should register it (and unregister it when you destroy it) by using this message.
1742+
If this message is not used, then your dialog won't react with the key stroke messages such as `Ctrl-C`, `Ctrl-V` or `TAB` key, so it is
1743+
highly recommended that you use this for all modeless dialogs in your plugin.*
17441744

17451745
**Parameters**:
17461746

17471747
*wParam [in]*
17481748
: int op,
17491749
the operation mode.
1750-
MODELESSDIALOGADD is to register and
1751-
MODELESSDIALOGREMOVE is to unregister.
1750+
Use the value `MODELESSDIALOGADD` to register and `MODELESSDIALOGREMOVE` to unregister (both are defined in `Notepad_plus_msgs.h`).
17521751

17531752
*lParam [in]*
17541753
: HWND hDlg,

0 commit comments

Comments
 (0)