找回密码
 加入
搜索
查看: 2786|回复: 4

[AU3基础] _GUICtrlComboBoxEx_Create 如何改變字體大小【已解决】

[复制链接]
发表于 2010-9-27 03:13:07 | 显示全部楼层 |阅读模式
本帖最后由 yao1377 于 2010-9-27 12:31 编辑

使用 _GUICtrlComboBoxEx_Create
怎麼改變字體大小?

問題己解決
感謝 pusofalse  !

评分

参与人数 1金钱 +10 收起 理由
afan + 10 感谢主动将修改帖子分类为[已解决],请继续 ...

查看全部评分

发表于 2010-9-27 03:45:40 | 显示全部楼层
#include <GUIComboBox.au3>
#include <GUIConstants.au3>
#include <WindowsConstants.au3>

$hGUI = GUICreate("Test", 400, 300)

GUICtrlCreateLabel("test", 20, 20, 90, 20)
GUICtrlSetFont(-1, 20, 800, 10, "Tahoma")
GUICtrlSetState(-1, $GUI_HIDE)

$hFont = GUICtrlSendMsg(-1, $WM_GETFONT, 0, 0)

$hCombo = _GUICtrlComboBox_Create($hGUI, "", 50, 20, 240, 20, 3)
_GUICtrlComboBox_AddString($hCombo, "Item 1")
_GUICtrlComboBox_AddString($hCombo, "Item 2")
_SendMessage($hCombo, $WM_SETFONT, $hFont, 1)

GUISetState()
While GUIGetMsg() <> -3
WEnd

评分

参与人数 3金钱 +70 收起 理由
ura + 20 p版33赞...
afan + 30
3mile + 20 学习了

查看全部评分

发表于 2010-9-27 09:29:32 | 显示全部楼层
版主非常热心,也上我受益匪浅。
发表于 2011-3-4 20:47:50 | 显示全部楼层
翻老帖也能得到好东西!
发表于 2011-12-29 20:39:23 | 显示全部楼层
谢谢分享、、、、
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-10-1 01:21 , Processed in 0.102464 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表