by Michael S. Kaplan, published on 2005/10/10 03:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2005/10/10/478911.aspx
Back in February of this year, KJK::Hyperion asked:
Michael, do you happen to know what these console character attributes are _really_ for?
The only real information I've found is a KB article ( http://support.microsoft.com/default.aspx?scid=kb;en-us;145925 ) explaining that they won't be supported in Windows 95, but it doesn't say a lot about them, and no mention of "keisen ruled lines" anywhere else on the internet. Any idea?
And then just last month, Robert Hodge asked the same question:
Do you know of any way to get characters to take an underscore attribute when being used by a Win32 Console application? The MSDN documentation for SetConsoleTextAttribute and CHAR_INFO (etc.) talks about an attribute called COMMON_LVB_UNDERSCORE, which is used like a 'color' setting and is used to get characters underlined, but it supposedly is associated with DBCS. I have tried using it but without success. I am considering a fallback strategy of altering a font to include pre-underlined characters, but that would be a lot of work. Any ideas? Thanks.
Unfortunately, the documentation is correct -- this particular feature is only supported in CJK (Chinese, Japanese, Korean) contexts.
Rich support of text is something better suited to non-console applications. These attributes are not generally available. Sorry!
This post brought to you by "●" (U+25cf, a.k.a. BLACK CIRCLE)
# KJK::Hyperion on 11 Oct 2005 11:04 AM:
# Robert Hodge on 19 Nov 2005 10:09 PM:
# Michael S. Kaplan on 20 Nov 2005 5:11 AM:
# Robert Hodge on 23 Nov 2005 8:11 PM:
# Michael S. Kaplan on 23 Nov 2005 8:49 PM:
go to newer or older post, or back to index or month or day