精華區beta mud_sanc 關於我們 聯絡資訊
【 WindowTextWidth 】 格式: WindowTextWidth(BSTR Name, BSTR FontId, BSTR Text, BOOL Unicode) 中文: WindowTextWidth(迷你視窗名稱, 字型ID, 字串, Unicode(布爾值)) 說明:計算字串的寬度,在一些情況下,你可能會製作一個框包圍字串,但字串 寬度是隨字元多寡浮動的,這時就會使用它取得必要的數值。 範例: --==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==-- --==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==-- 來源:http://www.gammon.com.au/mushclient/mw_text.htm#WindowTextWidthm