码迷,mamicode.com
首页 >  
搜索关键字:uint srcrowpitch    ( 791个结果
Solidity payable 方法表现
1 pragma solidity ^0.4.4; 2 3 contract Person { 4 5 string public name; 6 uint age; 7 uint private weight; 8 string internal birthday; 9 10 function P... ...
分类:其他好文   时间:2018-03-20 19:40:54    阅读次数:1626
将FormView视图封装到DLL中
在多文档编程框架中,要显示多个视图,如果将视图类封装到DLL中,调用时将视图嵌入到主框架中,能实现模块编程。(1)创建一个MFC的控展DLL工程,在资源中添加一个FormView窗口,并创建相应的类CDeviceManageView.添导出函数如下:extern?"C"?AFX_EXT_API?UINT?Create(CRuntimeCl
分类:其他好文   时间:2018-03-19 20:56:15    阅读次数:144
学习windows编程 day6 之处理鼠标移动
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam){ HDC hdc; PAINTSTRUCT ps; RECT rect; static int cxClient, cyClient; st ...
分类:移动开发   时间:2018-03-07 23:50:30    阅读次数:218
学习windows编程 day5 之 区域裁剪
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; RECT rect; static int cxClient, cyClient; H... ...
分类:Windows程序   时间:2018-03-06 23:18:07    阅读次数:229
unsigned short A = 10; printf("~A = %u\n", ~A); char c=128; printf("c=%d\n",c); 输出多少?
这是题目给出的答案:第一题,~A =0xfffffff5,int值 为-11,但输出的是uint。所以输出4294967285 第二题,c=0x10,输出的是int,最高位为1,是负数,所以它的值就是0x00的补码就是128,所以输出-128。这两道题都是在考察二进制向int或uint转换时的最高位 ...
分类:其他好文   时间:2018-03-06 00:52:16    阅读次数:366
学习windows编程 day4 之 多边矩形填充
#include <windows.h>#include <math.h>LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);#define R 200#define PI 3.1415926 ...
分类:Windows程序   时间:2018-03-05 19:29:52    阅读次数:220
学习windows编程 day3 之 设置当前的背景颜色
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; RECT rect; static HPEN hPen, hOldPen; switc... ...
分类:Windows程序   时间:2018-03-05 00:49:13    阅读次数:218
学习windows编程 day3 之 自定义画笔的两种方法
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; RECT rect; HPEN hPen, hOldPen; switch (mess... ...
分类:Windows程序   时间:2018-03-04 23:50:16    阅读次数:251
学习windows编程 day1
#include <windows.h> #include <strsafe.h> /* 任务:去掉标题栏和边框 */ //#define LineHeight 15 这是自己猜测的行高,不要这样做 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, ...
分类:Windows程序   时间:2018-03-03 00:38:12    阅读次数:222
ActionHelper
/// /// 方法帮助类 /// public class ActionHelper { /// /// 执行时间阀值 /// public static readonly uint ElapsedMillisecondsLimit = 100; /// ... ...
分类:其他好文   时间:2018-02-04 21:17:40    阅读次数:216
791条   上一页 1 ... 17 18 19 20 21 ... 80 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!