Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Using CHARFORMAT2

I need to Use CHARFORMAT2 to make rich text box text underlined using bUnderlineType
anyway I might also need a copy of the latest version of the RichTextBox
Control
Thanks
Nick
[198 byte] By [Nick] at [2007-11-10 0:20:21]
# 1 Re: Using CHARFORMAT2
>I need to Use CHARFORMAT2 to make rich text box text underlined using bUnderlineType
>anyway I might also need a copy of the latest version of the RichTextBox
>Control

Nick,

The CHARFORMAT2 structure isn't supported by the VB Rich Textbox
control. (Well it might be on Windows 2000, but not on earlier
versions of Windows.) To use it, you have to use another control based
on RichEdit 2.0 or later. Check out http://vbaccelerator.com/ for a
free one.

Mattias

__________________________________________________
Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
VB+ http://hem.spray.se/mattias.sjogren/
Please send questions/replies to the newsgroups
Mattias Sjgren at 2007-11-11 20:03:54 >
# 2 Re: Using CHARFORMAT2
>I need to Use CHARFORMAT2 to make rich text box text underlined using bUnderlineType
>anyway I might also need a copy of the latest version of the RichTextBox
>Control

Nick,

The CHARFORMAT2 structure isn't supported by the VB Rich Textbox
control. (Well it might be on Windows 2000, but not on earlier
versions of Windows.) To use it, you have to use another control based
on RichEdit 2.0 or later. Check out http://vbaccelerator.com/ for a
free one.

Mattias

__________________________________________________
Mattias Sjgren (MCP) - mattiass @ hem.passagen.se
VB+ http://hem.spray.se/mattias.sjogren/
Please send questions/replies to the newsgroups
Mattias Sjgren at 2007-11-11 20:05:04 >