# Html window

**URL:** <https://www.ruby-forum.com/t/html-window/122452>\
**Category:** wxRuby\
**Created:** [December 7, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/html-window/122452 "2007-12-07T18:27:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beusse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@beusse](https://www.ruby-forum.com/u/beusse)\
**Post date:** [December 7, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/html-window/122452/1 "2007-12-07T18:27:46Z")

</div>

Salut Alex.  
Je ne n’arrive pas Ã comprendre Ã quoi sert rÃ©ellement:  
“HW\_NO\_SELECTION”  
Est-ce que tu peut m’expliquez un peu plus en dÃ©tail.  
merci  
sebastien  
[http://beusse.liveror.com](http://beusse.liveror.com)

---

<div class="post-metadata">

**Author:** ![beusse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@beusse](https://www.ruby-forum.com/u/beusse)\
**Post date:** [December 7, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/html-window/122452/2 "2007-12-07T22:41:12Z")

</div>

Salut

sebastien wrote:

> Je ne n’arrive pas à comprendre à quoi sert réellement: “HW\_NO\_SELECTION”  
> Est-ce que tu peut m’expliquez un peu plus en détail.  
> [I’m not sure I understand what the style flag Wx::HW\_NO\_SELECTION does

- could you explain a bit more]

Si un Wx::HtmlWindow est créé avec ce style, l’usager ne pourra pas  
sélectionner le texte qu’affiche le HtmlWindow. Donc, il ne pourra pas  
le (copier?calquer?) afin de le coller dans une autre application.

Je l’ai essayé sur GTK/Linux et il marchait comme j’ai décrit.

[If a Wx::HtmlWindow is created with this style, the user won’t be able  
to select the text which the window displays. So, s/he won’t be able to  
copy it to paste into another application.

I’ve tried this on GTK/Linux and it works as described]

cheers  
alex
