- ©«¤l
- 172
- ¥DÃD
- 39
- ºëµØ
- 20
- ¿n¤À
- 177
- ÂI¦W
- 0
- §@·~¨t²Î
- Microsoft Windows XP
- ³nÅ骩¥»
- Microsoft Office 2003
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2023-3-19
|
Option Explicit
Public Const SM_CXSCREEN = 0
Public Const SM_CYSCREEN = 1
Declare Function GetSystemMetrics Lib "user32" (ByVal nIndex As Long) As Long
Sub ¥Ø«e¿Ã¹õ¸ÑªR«×()
Dim ScreenHeight, ScreenWidth
ScreenHeight = GetSystemMetrics(SM_CYSCREEN) '¨ú±o°ª«×ªº¹³¯À
ScreenWidth = GetSystemMetrics(SM_CXSCREEN) '¨ú±o¼e«×ªº¹³¯À
MsgBox "¥Ø«e¿Ã¹õ¸ÑªR«×¡G" & ScreenWidth & "*" & ScreenHeight
End Sub |
|