码迷,mamicode.com
首页 >  
搜索关键字:uint srcrowpitch    ( 791个结果
windows编程初步
#include <windows.h> const char g_szClassName[] = "myWindowClass"; LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switc ...
分类:Windows程序   时间:2017-02-24 22:09:14    阅读次数:304
CEditUI 控件使用
SetLimitText(UINT nMax ) //设置文本限制字符数 参数为nMax为控件可接受的文本最大字节数 GetTextLength() //获得文本长度 参考文档:http://www.blogjava.net/jasmine214--love/archive/2010/08/12/3 ...
分类:其他好文   时间:2017-02-24 19:22:48    阅读次数:154
03EventDemo
1 #include 2 #include 3 #include 4 #include 5 6 HANDLE g_hEvent; 7 UINT __stdcall ThreadProc(LPVOID); 8 int main(int argc,char* argv[]) 9 { 10 unsigne... ...
分类:其他好文   时间:2017-02-01 23:41:09    阅读次数:378
lockFunctionDemo
1 #include 2 #include 3 #include 4 #include 5 6 int g_nCount1 = 0,g_nCount2 = 0; 7 bool g_bThread = true; 8 UINT __stdcall ThreadProc(LPVOID); 9 int m... ...
分类:其他好文   时间:2017-02-01 23:37:49    阅读次数:261
03UseTls
1 #include 2 #include 3 #include 4 #include 5 6 int g_nTlsNum; 7 UINT __stdcall ThreadProc(LPVOID); 8 void InitialStartTime(); 9 DWORD GetUsedTime(); ... ...
分类:其他好文   时间:2017-02-01 23:26:06    阅读次数:200
获得QQ聊天输入框中的内容
using System.Runtime.InteropServices;[DllImport("User32.DLL")]public static extern int SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);publ ...
分类:其他好文   时间:2017-01-24 23:46:21    阅读次数:285
C#调用记事本并填写内容
using System.Runtime.InteropServices; using System.Diagnostics; [DllImport("User32.DLL")] public static extern int SendMessage(IntPtr hWnd, uint Msg,  ...
分类:Windows程序   时间:2017-01-24 22:55:13    阅读次数:369
Windows7获取、更换桌面背景,C#
使用的API原型是 BOOL SystemParametersinfo(UINT uiAction,UINT uiParam,PVOID pvParam,UINT fWinlni); 在C#中定义如下: 1 /// <summary> 2 /// 查询或设置系统级参数 3 /// </summary ...
分类:Windows程序   时间:2017-01-19 19:37:57    阅读次数:562
n&(n-1)
1. 判断一个正整数是否为2的乘方数 数据对比(uint_16 n;) 正整数n 正整数 n 的二进制表示 正整数 (n - 1) 正整数 (n-1) 的二进制表示 n&(n - 1) 2 0000000000000010 1 0000000000000001 0000000000000000 4 ...
分类:其他好文   时间:2017-01-13 21:04:16    阅读次数:175
MFC Timer定时器
知识点: 定时器Timer 创建定时器 销毁定时器 代码测试 一、 创建定时器 UINT SetTimer( HWND hWnd, // 指定关联定时器的窗口句柄,在MFC版将省略此参数 UINT nIDEvent, // 定时器ID UINT uElapse, // 时间间隔 单位毫... ...
分类:编程语言   时间:2016-12-28 18:15:40    阅读次数:233
791条   上一页 1 ... 26 27 28 29 30 ... 80 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!