Menu

#1652 Use edit control in our message box

Not Scheduled
open-later
nobody
None
1
2013-02-28
2006-01-26
elsapo
No

Use edit control in our message box

This makes right-click copy and ctrl-c available for
copying text out of the message box.

Discussion

  • elsapo

    elsapo - 2006-01-26

    Zip (26Kb) of 2 altered & original files

     
  • Kimmo Varis

    Kimmo Varis - 2006-01-27

    Logged In: YES
    user_id=631874

    Not sure where and why you'd need this?

    Certainly most informative messageboxes don't need this.
    Maybe a new flag to use edit control so it can be used only
    when needed?

     
  • elsapo

    elsapo - 2006-01-27

    Logged In: YES
    user_id=1195173

    As a user, I always would like every message box to be
    copyable, so that any time I want to ask about anything, I
    can copy the text to quote -- or if I want to search for
    docs or discussion on the message box.

    (I wish Microsoft would fix the platform implementation of
    message box, to be always copyable and always scrollable, so
    we application developers wouldn't have to, but they never
    seem to do so.)

    Is there ever a reason for a message box not to be copyable?

     
  • elsapo

    elsapo - 2006-01-27

    Logged In: YES
    user_id=1195173

    Oh, this is also good for translation bug reports & bug
    reports in general.

     
  • elsapo

    elsapo - 2006-01-27

    Logged In: YES
    user_id=1195173

    Altho, it's almost as useful to the user if they can just
    turn on a log which captures all errors -- and we're going
    to need that (if we haven't it already) to handle errors
    from plugins during directory scans. A copyable message box
    has the one advantage that you don't have to turn on logging
    ahead of time, but it somewhat loses that advantage if you
    don't know the msgbox is copyable until later -- this patch
    doesn't provide any visual clue that it is copyable.

    (Altho for myself, I'd prefer to have copyable & scrollable
    msg boxes AND an optional log.)

     
  • Kimmo Varis

    Kimmo Varis - 2006-01-27

    Logged In: YES
    user_id=631874

    Good points. I am mainly concerned if this does change the
    look of messagebox? As editbox in Win32 usually is sunken
    and that would look weird. But if there is no visible change
    like sunken frame etc then this is fine.

    I remember seeing something similar in another program, but
    I cannot remember which program it was.

     
  • elsapo

    elsapo - 2006-01-27

    Logged In: YES
    user_id=1195173

    I can't tell the difference visually, unless I select some
    of the message text -- this is kind of the downside as well,
    as the user has no way to know the text is selectable &
    copyable. Anyway, attaching screenshots so you can see --
    there might be something I'm not seeing, as I've not
    compared them side-by-side.

    I did have to add 10 pixels to the width calculation -- I
    dunno why, but I need some more pixels when I changed it to
    an edit control instead of a label.

     
  • elsapo

    elsapo - 2006-01-27

    Screenshots of regular & with edit box

     
  • Kimmo Varis

    Kimmo Varis - 2006-05-08
    • priority: 5 --> 3
     
  • Kimmo Varis

    Kimmo Varis - 2006-05-24
    • priority: 3 --> 1
    • status: open --> open-later
     
  • Kimmo Varis

    Kimmo Varis - 2006-05-24

    Logged In: YES
    user_id=631874

    Since I have no personal interest in this patch, and most
    other Windows programs don't have this kind of messageboxex
    I'm putting this to lowest priority and Later resolution.

     
  • Christian List

    Christian List - 2013-02-28
    • milestone: --> Not Scheduled
     

Log in to post a comment.