回复 1# leibin0121
给个小例子,不知道是否满足你的要求。
关键是用到了扩展风格 $WS_EX_LAYOUTRTL - 窗体或控件将具有从右向左的布局(因而会被镜像)#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <DateTimeConstants.au3>
Example()
Func Example()
Local $gui = GUICreate("Test", 400, 100, -1, -1, -1)
GUICtrlCreateDate("", 30, 20, 100, 20, $DTS_SHORTDATEFORMAT)
GUICtrlCreateLabel("镜像测试", 30, 50, 100, 20)
GUISetState(@SW_SHOW)
Sleep(2000)
GUISetStyle(-1, $WS_EX_LAYOUTRTL, $gui)
Do
Local $msg = GUIGetMsg()
Until $msg = $GUI_EVENT_CLOSE
EndFunc ;==>Example
|