Message box with specific icon
-
Hello,
i have develop my own plugin and it works well.
i would like to add a “about” windows, with text and and a specific icon.
i don’t arrive to show my icon .
how can i do to show my specific icon in this messagebox ? (instead of MB_informationicon )
For exemple, the about windows on the ‘pythonscript’ has got a ‘picture’ inside.i defined my ico file in my rc file, and the number of my ico in my resource.h file.
Thanks for your help.
Bertrand. -
This seems like a Windows API question, not specifically a Notepad++ related question.
Thus, there are better places to ask such a question.But… Since you mentioned PythonScript, have you looked at its source to see how it does it, and then tried to duplicate that?
-
@Bertrand-Ruef said in Message box with specific icon:
show my specific icon in this messagebox
MessageBox doesn’t work that way.
Unless you can work within the very restrictive limitations of a message box, you need to use a modal dialog box.Edit to note that @xomx has (again) described below how to do what I said couldn’t be done.
-