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.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login