码迷,mamicode.com
首页 >  
搜索关键字:uint srcrowpitch    ( 791个结果
滚动条
TScrollInfo 结构体。在Delphi中定义在windows单元下。定义如下: tagSCROLLINFO = packed record cbSize: UINT; //结构体大小,在使用时首先要初始化 SizeOf(ScrollInfo) fMask: UIN...
分类:其他好文   时间:2014-09-19 23:44:36    阅读次数:308
DrawText
DrawText 函数功能:该函数在指定的矩形里写入格式化文本,根据指定的方法对文本格式化(扩展的制表符,字符对齐、折行等)。 函数原型:int DrawText(HDC hdc, LPCTSTR lpString, int nCount, LPRECT lpRect, UINT uFormat.....
分类:其他好文   时间:2014-09-19 23:43:26    阅读次数:373
控制台中使用SetTimer的提醒
SetTimer是设置定时器,每隔一段时间执行一个操作,原型如下 UINT_PTR SetTimer( HWND hWnd, // 窗口句柄 UINT_PTR nIDEvent, // 定时器ID,多个定时器时,可以通过该ID判断是哪个定时器 UINT uElapse, // 时间间隔,单位...
分类:其他好文   时间:2014-09-18 22:09:14    阅读次数:162
使用定时器SetTimer
//创建定时器函数的声明:SetTimer( hWnd: HWND; {与定时器相关联的窗口句柄} nIDEvent: UINT; {指定一个非 0 的定时器标识符} uElapse: UINT; {指定间隔时间, 单位是毫...
分类:其他好文   时间:2014-09-17 01:01:41    阅读次数:234
别踩白块儿之禅模式 windows程序实现
别踩白块儿之禅模式 windows程序实现 代码如下 #include LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); int WINAPI WinMain( //程序入口,WINAPI是一种函数调用约定,用于表明如何生成在堆栈中放置调用参数的机器代码 HINSTANCE hInstance //实例句柄,标识该程序 , ...
分类:Windows程序   时间:2014-09-16 00:22:39    阅读次数:369
windows 随机矩形绘制
windows 随机矩形绘制 代码如下 #include void DrawRect (HWND hwnd); int cxClient, cyClient; LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstan...
分类:Windows程序   时间:2014-09-16 00:21:09    阅读次数:255
Flex4 用MXML定义 XML、XMLList、XMLListCollection变量
<fx:Declarations> <!--将非可视元素(例如服务、值对象)放在此处--> <mx:ArrayListid="dataList"> <fx:int>10</fx:int> <fx:String>8</fx:String> <fx:Number>7.5</fx:Number> <fx:uint>17</fx:uint> <..
分类:其他好文   时间:2014-09-15 19:53:20    阅读次数:183
VC++ 列表控件的使用方法
列表控件可以看作是功能增强的ListBox,它提供了四种风格,而且可以同时显示一列的多中属性值。MFC中使用CListCtrl类来封装列表控件的各种操作。通过调用BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT ...
分类:编程语言   时间:2014-09-15 14:19:18    阅读次数:298
S-DES加密
1 #include 2 #include 3 #include 4 #include 5 #include 6 7 class S_DES { 8 private: 9 typedef unsigned int uint; 10 typedef un...
分类:其他好文   时间:2014-09-10 20:51:51    阅读次数:215
单片机测试
1 #include "reg52.h" 2 #include "intrins.h" 3 #define uchar unsigned char 4 #define uint unsigned int 5 6 void delay( uchar x) 7 { 8 uint y; 9...
分类:其他好文   时间:2014-09-10 00:12:49    阅读次数:230
791条   上一页 1 ... 65 66 67 68 69 ... 80 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!