RE: RichEdit non multiline

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

The default flags for a Rich Edit control in Win32Lib are:
{  WS_CHILD,WS_VISIBLE,WS_VSCROLL,ES_DISABLENOSCROLL,ES_AUTOVSCROLL,
   WS_TABSTOP,ES_SAVESEL,ES_MULTILINE,WS_BORDER }

To create a one-line Rich Edit control, just pass the following sequence 
as your 'flags' parameter when you 'create' the control:
{  WS_CHILD,WS_VISIBLE,WS_TABSTOP,ES_SAVESEL,WS_BORDER }

-- Brian


aku at inbox.as wrote:
> How to make a richedit only have one line just like
> EditText?
> 
> Thanks
> 
> 
> -- 
> Di antara mereka yang kita sukai dan kagumi, kita tidak dapat menemukan 
> suatu kesamaan, tetapi di antara mereka yang kita kasihi, kita dapat 
> menemukannya, karena merekalah yang membuat tertawa.
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu