Re: Single line RichEdit controls

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Is it possible to make single line RichEdit controls?

    I think if you add WS_HSCROLL to the style( ES_AUTOHSCROLL if you
want ), and remove the ES_MULTILINE, you'll get a single-line RichEdit
control (with scroll bar).
    When I tried it, it still showed the vertical scroll bars, but by
removing the WS_VSCROLL and ES_AUTOVSCROLL style bits, they were removed
from the window.
    Without the horizontal scroll bars, it just stopped at the right-hand
edge, and wouldn't accept any more input (maybe it's just me though smile

    Jason

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu