Krazal / nppopenai

OpenAI (aka. ChatGPT) plugin for Notepad++
GNU General Public License v2.0
65 stars 20 forks source link

MessageBox() should have parent window handle #5

Closed vinsworldcom closed 1 year ago

vinsworldcom commented 1 year ago

All calls to MessageBox() specify NULL as the parent window. This means after message box display, the user can click into Notepad++ effectively backgrounding the message box without ever closing / acknowledging it. The message boxes should be "modal" - requiring some acknowledgement to close before returning control to Notepad++.

Use Notepad++ handle nppData._nppHandle.

Cheers.