|
SkinPlusPlus
Dll Method & COM Interface |
Metrics类型定义值
#define SM_CXSCREEN 0#define SM_CYSCREEN 1#define SM_CXVSCROLL 2#define SM_CYHSCROLL 3#define SM_CYCAPTION 4#define SM_CXBORDER 5#define SM_CYBORDER 6#define SM_CXDLGFRAME 7#define SM_CYDLGFRAME 8#define SM_CYVTHUMB 9#define SM_CXHTHUMB 10#define SM_CXICON 11#define SM_CYICON 12#define SM_CXCURSOR 13#define SM_CYCURSOR 14#define SM_CYMENU 15#define SM_CXFULLSCREEN 16#define SM_CYFULLSCREEN 17#define SM_CYKANJIWINDOW 18#define SM_MOUSEPRESENT 19#define SM_CYVSCROLL 20#define SM_CXHSCROLL 21#define SM_DEBUG 22#define SM_SWAPBUTTON 23#define SM_RESERVED1 24#define SM_RESERVED2 25#define SM_RESERVED3 26#define SM_RESERVED4 27#define SM_CXMIN 28#define SM_CYMIN 29#define SM_CXSIZE 30#define SM_CYSIZE 31#define SM_CXFRAME 32#define SM_CYFRAME 33#define SM_CXMINTRACK 34#define SM_CYMINTRACK 35#define SM_CXDOUBLECLK 36#define SM_CYDOUBLECLK 37#define SM_CXICONSPACING 38#define SM_CYICONSPACING 39#define SM_MENUDROPALIGNMENT 40#define SM_PENWINDOWS 41#define SM_DBCSENABLED 42#define SM_CMOUSEBUTTONS 43 #if(WINVER >= 0x0400)#define SM_CXFIXEDFRAME SM_CXDLGFRAME /* ;win40 name change */#define SM_CYFIXEDFRAME SM_CYDLGFRAME /* ;win40 name change */#define SM_CXSIZEFRAME SM_CXFRAME /* ;win40 name change */#define SM_CYSIZEFRAME SM_CYFRAME /* ;win40 name change */ #define SM_SECURE 44#define SM_CXEDGE 45#define SM_CYEDGE 46#define SM_CXMINSPACING 47#define SM_CYMINSPACING 48#define SM_CXSMICON 49#define SM_CYSMICON 50#define SM_CYSMCAPTION 51#define SM_CXSMSIZE 52#define SM_CYSMSIZE 53#define SM_CXMENUSIZE 54#define SM_CYMENUSIZE 55#define SM_ARRANGE 56#define SM_CXMINIMIZED 57#define SM_CYMINIMIZED 58#define SM_CXMAXTRACK 59#define SM_CYMAXTRACK 60#define SM_CXMAXIMIZED 61#define SM_CYMAXIMIZED 62#define SM_NETWORK 63#define SM_CLEANBOOT 67#define SM_CXDRAG 68#define SM_CYDRAG 69#endif /* WINVER >= 0x0400 */#define SM_SHOWSOUNDS 70#if(WINVER >= 0x0400)#define SM_CXMENUCHECK 71 /* Use instead of GetMenuCheckMarkDimensions()! */#define SM_CYMENUCHECK 72#define SM_SLOWMACHINE 73#define SM_MIDEASTENABLED 74#endif /* WINVER >= 0x0400 */#if (WINVER >= 0x0500) || (_WIN32_WINNT >= 0x0400)#define SM_MOUSEWHEELPRESENT 75#endif#if(WINVER >= 0x0500)#define SM_XVIRTUALSCREEN 76#define SM_YVIRTUALSCREEN 77#define SM_CXVIRTUALSCREEN 78#define SM_CYVIRTUALSCREEN 79#define SM_CMONITORS 80#define SM_SAMEDISPLAYFORMAT 81#endif /* WINVER >= 0x0500 */ #if (WINVER < 0x0500) && (!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0400))#define SM_CMETRICS 76#else#define SM_CMETRICS 83#endif
|
宏 |
描 述 |
|
SM_CMONITORS |
Number of display monitors on the Windows CE-based
device. Supported in Windows CE .NET 4.0 and later. |
|
SM_CXBORDER, SM_CYBORDER |
Width and height, in pixels, of a window border. This is
equivalent to the SM_CXEDGE value for windows with the 3-D look. |
|
SM_CXCURSOR, SM_CYCURSOR |
Width and height, in pixels, of a cursor. The system
cannot create cursors of other sizes. |
|
SM_CXDLGFRAME, SM_CYDLGFRAME |
Same as SM_CXFIXEDFRAME and SM_CYFIXEDFRAME. |
|
SM_CXDOUBLECLK, SM_CYDOUBLECLK |
Width and height, in pixels, of the rectangle around the
location of a first click in a double-click sequence. The second click must
occur within this rectangle for the system to consider the two clicks a
double-click. (The two clicks must also occur within a specified time.) |
|
SM_CXEDGE, SM_CYEDGE |
Dimensions, in pixels, of a 3-D border. These are the
3-D counterparts of SM_CXBORDER and SM_CYBORDER. |
|
SM_CXFIXEDFRAME, SM_CYFIXEDFRAME |
Thickness, in pixels, of the frame around the perimeter of
a window that has a caption but is not sizable. SM_CXFIXEDFRAME is the width
of the horizontal border and SM_CYFIXEDFRAME is the height of the vertical
border. Same as SM_CXDLGFRAME and SM_CYDLGFRAME. |
|
SM_CXHSCROLL, SM_CYHSCROLL |
Width, in pixels, of the arrow bitmap on a horizontal scroll
bar; and height, in pixels, of a horizontal scroll bar. |
|
SM_CXICON, SM_CYICON |
The default width and height, in pixels, of an icon. |
|
SM_CXICONSPACING, SM_CYICONSPACING |
Dimensions, in pixels, of a grid cell for items in large icon
view. Each item fits into a rectangle of this size when arranged. These
values are always greater than or equal to SM_CXICON and SM_CYICON. |
|
SM_CXMENUCHECK, SM_CYMENUCHECK |
Dimensions, in pixels, of the default menu check-mark bitmap. |
|
SM_CXSCREEN, SM_CYSCREEN |
Width and height, in pixels, of the screen of the primary
display monitor. |
|
SM_CXSMICON, SM_CYSMICON |
Recommended dimensions, in pixels, of a small icon. Small icons
typically appear in window captions and in small icon view. |
|
SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN |
Width and height, in pixels, of the virtual screen. The virtual screen
is the bounding rectangle of all display monitors. Supported in Windows CE
.NET 4.0 and later. |
|
SM_CXVSCROLL, SM_CYVSCROLL |
Width, in pixels, of a vertical scroll bar; and height, in
pixels, of the arrow bitmap on a vertical scroll bar. |
|
SM_CYCAPTION |
Height, in pixels, of a normal caption area. |
|
SM_CYMENU |
Height, in pixels, of a single-line menu bar. |
|
SM_DEBUG |
TRUE or nonzero if the debugging version of USER.EXE is
installed; FALSE or zero otherwise. |
|
SM_SAMEDISPLAYFORMAT |
TRUE if all the display monitors have the same color format,
FALSE otherwise. Supported in Windows CE .NET 4.0 and later. |
|
SM_XVIRTUALSCREEN, SM_YVIRTUALSCREEN |
Coordinates for the left side and the top of the virtual screen.
The virtual screen is the bounding rectangle of all display monitors.
Supported in Windows CE .NET 4.0 and later. |
支持的操作系统:Windows 95/98/Me/ NT/2000/XP/2003/Vista
Skin++版本 :Skin++ 标准版 不支持,Skin++ 企业版2.0及以上版本支持,Skin++源码版2.0及以上版本支持
C++ 头文件 :
在SkinPPInc.h
和SkinPPWTL.h描述.
DLL 宿主文件 : SkinPPWTL.dll,SkinPlusPlus.dll,SkinPPPowerBuilder,SkinPPBorland,SkinPPBCB,SkinPPE.
COM 宿主文件 : SkinPPDotNet.dll,SkinPPVB.dll,SkinPPDelphiNet.dll
Copyright@2004-2007 上海勇进软件有限公司,保留所有权利。
如果您对帮助系统有任何建议,可以直接发邮件到
Visual Studio,和Visual Studio logo 是微软公司在美国或在其他国家的注册商标。