如何将选中的文本全部变成全角.txt

来自「VB技巧问答10000例 VB技巧问答10000例」· 文本 代码 · 共 15 行

TXT
15
字号
The LCMapString function maps one character string to another, performing a specified locale-dependent transformation. The function can also be used to generate a sort key for the input string. 
    函 数 说 明 : 
    int LCMapString( 
     LCID Locale, // locale identifier 
     DWORD dwMapFlags, // mapping transformation type 转 换 类 型 
     LPCTSTR lpSrcStr, // address of source string 源 串 
     int cchSrc, // number of characters in source string 源 串 长 度 
     LPTSTR lpDestStr, // address of destination buffer 目 标 串 
     int cchDest // size of destination buffer 目 标 串 长 度 
     ); 
    其 中 参 数 说 明 : 
    dwMapFlages (常 量 ) 
    LCMAP_FULLWIDTH (Map single-byte characters to double-byte characters.将 单 字 节 转 为 双 字 节 ) 
    LCMAP_HALFWIDTH (Map double-byte characters to single-byte characters.将 双 字 节 转 为 单 字 节 ) 
<END>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?