码迷,mamicode.com
首页 >  
搜索关键字:uint srcrowpitch    ( 791个结果
定时器Timer
定时器Timer 创建定时器 销毁定时器 代码测试一、 创建定时器 UINT SetTimer( HWND hWnd,// 指定关联定时器的窗口句柄,在MFC版将省略此参数UINT nIDEvent,// 定时器ID UINT uElapse,// 时间间隔 单位毫秒TIMERPROC lpTime...
分类:其他好文   时间:2014-07-15 00:56:01    阅读次数:254
弹出菜单的实现
void CNumEdit::OnRButtonDown(UINT nFlags, CPoint point){ // TODO: 在此添加消息处理程序代码和/或调用默认值 //CEdit::OnRButtonDown(nFlags, point); //弹出菜单//定义一个菜单类 CMenu po...
分类:其他好文   时间:2014-07-14 09:46:04    阅读次数:220
sendMessage
[DllImport("user32.dll", EntryPoint="SendMessageA")] private static extern int SendMessage(IntPtr hwnd, uint wMsg, uint wParam, uint lParam); ...
分类:其他好文   时间:2014-07-13 09:47:54    阅读次数:196
NOTIFYICONDATA结构
//农机调度项目代码NOTIFYICONDATA m_notifyData;m_notifyIcon.ChangeIcon(IDI_PAUSE, _T("监控终端server已暂停"));void CMyNotifyIcon::AddIcon(UINT idResourceIcon, LPCTSTR...
分类:其他好文   时间:2014-07-11 09:17:56    阅读次数:179
Direct3D 纹理使用
关于纹理使用 1 纹理的创建 2 纹理的寻址方式 3 纹理的过滤方式 1 纹理的创建 D3DXCreateTexture函数 创建一个空的纹理。 HRESULT  D3DXCreateTexture(   __in   LPDIRECT3DDEVICE9 pDevice,   __in   UINT Width,   __in   UINT Height,   __...
分类:其他好文   时间:2014-07-11 00:44:37    阅读次数:229
关于DrawIndexedPrimitive函数的调用
函数的原型如下所示: HRESULT DrawIndexedPrimitive( [in] D3DPRIMITIVETYPE Type, [in] INT BaseVertexIndex, [in] UINT MinIndex, [in] UINT NumVertices, [in] UINT StartIndex, [in] UINT PrimitiveCount );...
分类:Windows程序   时间:2014-07-10 22:20:01    阅读次数:490
走进windows编程的世界-----消息处理函数(4)
一 右键菜单  1 右键菜单    当在窗口点击鼠标右键时,弹出的菜单。  2 右键菜单的使用    2.1 创建菜单      CreatePopupMenu    2.2 菜单增加     AppendMenu    2.3 菜单的显示、BOOL TrackPopupMenu( HMENU hMenu, //显示的菜单句柄 UINT uFlags, //显示的方式 int ...
分类:Windows程序   时间:2014-07-09 09:28:49    阅读次数:267
Win32 Windows编程 七
定时器消息 1、 WM_TIMER 按照定时器设置的时间段,自动向窗口发送一个定时器消息WM_TIMER。优先级比较低 定时器精度比较低,毫秒级别,消息产生时间也精度比较低 2 、消息和函数 WM_TIMER : 消息ID wParam  定时器的ID lParam  定时器的处理函数 SetTimer :设置一个定时器 UINT_PTR SetTimer( ...
分类:Windows程序   时间:2014-07-08 19:31:34    阅读次数:248
基于51单片机的12864驱动
/**************dis_12864.h***************/ #include #ifndef __DIS_12864_H__ #define __DIS_12864_H__ #define uchar unsigned char #define uint  unsigned int /*12864端口定义*/ #define LCD_data ...
分类:其他好文   时间:2014-07-06 10:58:45    阅读次数:129
【Nginx】基本数据结构
整型的封装typedef intptr_t ngx_int _t;//有符号整型typedef uintptr_t ngx_uint_t;//无符号整型字符串的封装typedef struct{ size_t len; u_char *data; }ngx_str_t;链表容器...
分类:其他好文   时间:2014-07-05 20:55:25    阅读次数:252
791条   上一页 1 ... 71 72 73 74 75 ... 80 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!