Community
    • Login

    Message box with specific icon

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    4 Posts 4 Posters 1.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Bertrand RuefB Offline
      Bertrand Ruef
      last edited by

      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.

      Alan KilbornA CoisesC xomxX 3 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Bertrand Ruef
        last edited by

        @Bertrand-Ruef

        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?

        1 Reply Last reply Reply Quote 0
        • CoisesC Offline
          Coises @Bertrand Ruef
          last edited by Coises

          @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.

          1 Reply Last reply Reply Quote 2
          • xomxX Offline
            xomx @Bertrand Ruef
            last edited by

            @Bertrand-Ruef

            MessageBoxIndirect

            1 Reply Last reply Reply Quote 3

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors