Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highlight text in messagebox

I need to display a message box but the user needs to be able to highlight and copy the text in the message box. How would I achieve this? FYI this in in C#.


1 Answers

Windows has a hidden functionality of copying MessageBox text when a user hits CTRL+C when the messagebox is active.

If you need to allow a user to highlight the text, then you will need to create a custom message box to do this.

like image 58
jgallant Avatar answered Dec 31 '25 00:12

jgallant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!