SkinPlusPlus Dll Method & COM Interface

http://www.uipower.com

SystemMetricsIndexs

用于获取Metric值的类型枚举

typedef
[
         uuid(DE2B3820-229F-4dac-8DD0-A08CA7DBEED0),
         version(1.0),
         helpstring("该枚举值在GetSkinSystemMetrics中用到"),
         public
] 
enum
{
         SKINPP_SM_CXSCREEN = 0,
         SKINPP_SM_CYSCREEN = 1,
         SKINPP_SM_CXVSCROLL = 2,
         SKINPP_SM_CYHSCROLL = 3,
         SKINPP_SM_CYCAPTION = 4,
         SKINPP_SM_CXBORDER = 5,
         SKINPP_SM_CYBORDER = 6,
         SKINPP_SM_CXDLGFRAME = 7,
         SKINPP_SM_CYDLGFRAME = 8,
         SKINPP_SM_CYVTHUMB = 9,
         SKINPP_SM_CXHTHUMB = 10,
         SKINPP_SM_CXICON = 11,
         SKINPP_SM_CYICON = 12,
         SKINPP_SM_CXCURSOR = 13,
         SKINPP_SM_CYCURSOR = 14,
         SKINPP_SM_CYMENU = 15,
         SKINPP_SM_CXFULLSCREEN = 16,
         SKINPP_SM_CYFULLSCREEN = 17,
         SKINPP_SM_CYKANJIWINDOW = 18,
         SKINPP_SM_MOUSEPRESENT = 19,
         SKINPP_SM_CYVSCROLL = 20,
         SKINPP_SM_CXHSCROLL = 21,
         SKINPP_SM_DEBUG  = 22,
         SKINPP_SM_SWAPBUTTON = 23,
         SKINPP_SM_RESERVED1 = 24,
         SKINPP_SM_RESERVED2 = 25,
         SKINPP_SM_RESERVED3 = 26,
         SKINPP_SM_RESERVED4 = 27,
         SKINPP_SM_CXMIN = 28,
         SKINPP_SM_CYMIN = 29,
         SKINPP_SM_CXSIZE = 30,
         SKINPP_SM_CYSIZE = 31,
         SKINPP_SM_CXFRAME = 32,
         SKINPP_SM_CYFRAME = 33,
         SKINPP_SM_CXMINTRACK = 34,
         SKINPP_SM_CYMINTRACK = 35,
         SKINPP_SM_CXDOUBLECLK = 36,
         SKINPP_SM_CYDOUBLECLK = 37,
         SKINPP_SM_CXICONSPACING = 38,
         SKINPP_SM_CYICONSPACING = 39,
         SKINPP_SM_MENUDROPALIGNMENT = 40,
         SKINPP_SM_PENWINDOWS = 41,
         SKINPP_SM_DBCSENABLED = 42,
         SKINPP_SM_CMOUSEBUTTONS = 43,
         SKINPP_SM_SECURE=44,
         SKINPP_SM_CXEDGE =              45,
         SKINPP_SM_CYEDGE =              46,
         SKINPP_SM_CXMINSPACING =        47,
         SKINPP_SM_CYMINSPACING =        48,
         SKINPP_SM_CXSMICON     =        49,
         SKINPP_SM_CYSMICON     =        50,
         SKINPP_SM_CYSMCAPTION  =        51,
         SKINPP_SM_CXSMSIZE     =        52,
         SKINPP_SM_CYSMSIZE     =        53,
         SKINPP_SM_CXMENUSIZE   =        54,
         SKINPP_SM_CYMENUSIZE   =        55,
         SKINPP_SM_ARRANGE      =        56,
         SKINPP_SM_CXMINIMIZED  =        57,
         SKINPP_SM_CYMINIMIZED   =       58,
         SKINPP_SM_CXMAXTRACK    =       59,
         SKINPP_SM_CYMAXTRACK    =       60,
         SKINPP_SM_CXMAXIMIZED   =       61,
         SKINPP_SM_CYMAXIMIZED   =       62,
         SKINPP_SM_NETWORK       =       63,
         SKINPP_SM_CLEANBOOT     =       67,
         SKINPP_SM_CXDRAG        =       68,
         SKINPP_SM_CYDRAG        =       69,
         SKINPP_SM_SHOWSOUNDS    =       70,
         SKINPP_SM_CXMENUCHECK   =       71, 
         SKINPP_SM_CYMENUCHECK   =       72,
         SKINPP_SM_SLOWMACHINE   =       73,
         SKINPP_SM_MIDEASTENABLED =      74,
         SKINPP_SM_MOUSEWHEELPRESENT =   75,
         SKINPP_SM_XVIRTUALSCREEN    =   76,
         SKINPP_SM_YVIRTUALSCREEN    =   77,
         SKINPP_SM_CXVIRTUALSCREEN   =   78,
         SKINPP_SM_CYVIRTUALSCREEN   =   79,
         SKINPP_SM_CMONITORS         =   80,
         SKINPP_SM_SAMEDISPLAYFORMAT =   81,
         SKINPP_SM_CMETRICS          =   83
 
}SystemMetricsIndexs;
 

 

枚 举 值

     

SKINPP_SM_CMONITORS

Number of display monitors on the Windows CE-based device. Supported in Windows CE .NET 4.0 and later.

SKINPP_SM_CXBORDER, SKINPP_SM_CYBORDER

Width and height, in pixels, of a window border. This is equivalent to the SKINPP_SM_CXEDGE value for windows with the 3-D look.

SKINPP_SM_CXCURSOR, SKINPP_SM_CYCURSOR

Width and height, in pixels, of a cursor. The system cannot create cursors of other sizes.

SKINPP_SM_CXDLGFRAME, SKINPP_SM_CYDLGFRAME

Same as SKINPP_SM_CXFIXEDFRAME and SKINPP_SM_CYFIXEDFRAME.

SKINPP_SM_CXDOUBLECLK, SKINPP_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.)

SKINPP_SM_CXEDGE, SKINPP_SM_CYEDGE

Dimensions, in pixels, of a 3-D border. These are the 3-D counterparts of SKINPP_SM_CXBORDER and SKINPP_SM_CYBORDER.

SKINPP_SM_CXFIXEDFRAME, SKINPP_SM_CYFIXEDFRAME

Thickness, in pixels, of the frame around the perimeter of a window that has a caption but is not sizable. SKINPP_SM_CXFIXEDFRAME is the width of the horizontal border and SKINPP_SM_CYFIXEDFRAME is the height of the vertical border.

Same as SKINPP_SM_CXDLGFRAME and SKINPP_SM_CYDLGFRAME.

SKINPP_SM_CXHSCROLL, SKINPP_SM_CYHSCROLL

Width, in pixels, of the arrow bitmap on a horizontal scroll bar; and height, in pixels, of a horizontal scroll bar.

SKINPP_SM_CXICON, SKINPP_SM_CYICON

The default width and height, in pixels, of an icon.

SKINPP_SM_CXICONSPACING, SKINPP_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 SKINPP_SM_CXICON and SKINPP_SM_CYICON.

SKINPP_SM_CXMENUCHECK, SKINPP_SM_CYMENUCHECK

Dimensions, in pixels, of the default menu check-mark bitmap.

SKINPP_SM_CXSCREEN, SKINPP_SM_CYSCREEN

Width and height, in pixels, of the screen of the primary display monitor.

SKINPP_SM_CXSMICON, SKINPP_SM_CYSMICON

Recommended dimensions, in pixels, of a small icon. Small icons typically appear in window captions and in small icon view.

SKINPP_SM_CXVIRTUALSCREEN, SKINPP_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.

SKINPP_SM_CXVSCROLL, SKINPP_SM_CYVSCROLL

Width, in pixels, of a vertical scroll bar; and height, in pixels, of the arrow bitmap on a vertical scroll bar.

SKINPP_SM_CYCAPTION

Height, in pixels, of a normal caption area.

SKINPP_SM_CYMENU

Height, in pixels, of a single-line menu bar.

SKINPP_SM_DEBUG

TRUE or nonzero if the debugging version of USER.EXE is installed; FALSE or zero otherwise.

SKINPP_SM_SAMEDISPLAYFORMAT

TRUE if all the display monitors have the same color format, FALSE otherwise. Supported in Windows CE .NET 4.0 and later.

SKINPP_SM_XVIRTUALSCREEN, SKINPP_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

  他:

             GetSystemMetrics

             Skin++ DLL Methods & COM Interfaces List

 

Copyright@2004-2007 上海勇进软件有限公司,保留所有权利。
如果您对帮助系统有任何建议,可以直接发邮件到support@uipower.com
Visual Studio,
Visual Studio logo 是微软公司在美国或在其他国家的注册商标。