CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - static color
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Linux-Unix
Exploit
Scanner
Crack Hack
CA auth
Linux driver
Search - static color - List
[
OS program
]
COLOR
DL : 1
取得屏幕上的一个颜色.用到了 [DllImport(\"gdi32.dll\")] private static extern bool BitBlt( IntPtr hdcDest, // 目標設備的句柄 int nXDest, // 目標對像的左上角的X坐標 int nYDest, // 目標對像的左上角的X坐標 int nWidth, // 目標對像的矩形的寬度 int nHeight, // 目標對像的矩形的長度 IntPtr hdcSrc, // 源設備的句柄 int nXSrc, // 源對像的左上角的X坐標 int nYSrc, // 源對像的左上角的X坐標 int dwRop // 光柵的操作值 ) [DllImport(\"gdi32.dll\")] private static extern IntPtr CreateDC( string lpszDriver, // 驅動名稱 string lpszDevice, // 設備名稱 string lpszOutput, // 無用,可以設定位\"NULL\" IntPtr lpInitData // 任意的打印機數據 ) 这两个API
Date
: 2008-10-13
Size
: 1.2kb
User
:
kl007
[
OS program
]
COLOR
DL : 0
取得屏幕上的一个颜色.用到了 [DllImport("gdi32.dll")] private static extern bool BitBlt( IntPtr hdcDest, // 目標設備的句柄 int nXDest, // 目標對像的左上角的X坐標 int nYDest, // 目標對像的左上角的X坐標 int nWidth, // 目標對像的矩形的寬度 int nHeight, // 目標對像的矩形的長度 IntPtr hdcSrc, // 源設備的句柄 int nXSrc, // 源對像的左上角的X坐標 int nYSrc, // 源對像的左上角的X坐標 int dwRop // 光柵的操作值 ) [DllImport("gdi32.dll")] private static extern IntPtr CreateDC( string lpszDriver, // 驅動名稱 string lpszDevice, // 設備名稱 string lpszOutput, // 無用,可以設定位"NULL" IntPtr lpInitData // 任意的打印機數據 ) 这两个API-To obtain a color screen. Use the [DllImport (gdi32.dll)] private static extern bool BitBlt (IntPtr hdcDest,// target device handle int nXDest,// target of the upper-left corner as the X coordinate int nYDest ,// target like the X coordinates of the upper-left corner int nWidth,// target like the width of the rectangle int nHeight,// target like the length of the rectangle IntPtr hdcSrc,// source device handle int nXSrc,// source as the upper-left corner of the X coordinate int nYSrc,// as the source of the X coordinates of the upper-left corner int dwRop// raster operation value) [DllImport (gdi32.dll)] private static extern IntPtr CreateDC ( string lpszDriver,// driver name string lpszDevice,// device name string lpszOutput,// useless, you can set bit NULL IntPtr lpInitData// any printer data) of these two API
Date
: 2025-12-23
Size
: 1kb
User
:
kl007
[
OS program
]
MFCchangeFONT
DL : 0
MFC编写的修改一些控件的字体和颜色、大小等,比如静态框等比较难改的一些-MFC prepared to modify some of the control' s font and color, size and so on, such as static frames and other relatively hard to change some of the
Date
: 2025-12-23
Size
: 2.37mb
User
:
CC
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.