码迷,mamicode.com
首页 >  
搜索关键字:uint srcrowpitch    ( 791个结果
MFC C++ 获取外网IP地址
#include <afxinet.h> //GB2312 转换成 Unicode wchar_t* GB2312ToUnicode(const char* szGBString) { UINT nCodePage = 936; //GB2312 int nLength=MultiByteToWid ...
分类:编程语言   时间:2017-06-21 11:21:22    阅读次数:224
2.5 数据类型转换与进制转换
2.5.1 数值类型转换 源类型 目标类型 转换方法 示例 bool、byte、char、double、decimal、float、long、short、sbyte、string、uint、ulong、ushort int Convert.ToInt32(Type value) string int ...
分类:其他好文   时间:2017-06-13 19:48:58    阅读次数:257
error C2440: “static_cast”: 无法从“LRESULT (__thiscall CTextProgressCtrl::* )(UINT,LPCTSTR)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)
转自原文 error C2440 “static_cast” 无法从“void (__thiscall C* )(void)... error C2440: “static_cast”: 无法从“LRESULT (__thiscall CTextProgressCtrl::* )(UINT,LPCT ...
分类:其他好文   时间:2017-06-13 10:14:26    阅读次数:1399
保温饭盒毕业设计程序
#include<reg52.h> //包括头文件。普通情况不须要修改。头文件包括特殊功能寄存器的定义 #define uchar unsigned char #define uint unsigned int sbit LED0=P1^0;//定义按键位置 sbit LED1=P1^1; sbit ...
分类:其他好文   时间:2017-06-07 10:14:30    阅读次数:169
C++学习,两个小的语法错误-network-programming
1.bool CServerSocket::initSocket(const char* ip=NULL,const UINT &port);//会出现默认参数为2的错误 解决方案: //C++语法规定:只要有一个默认参数,那么该参数后面的所有参数都必须指定默认值//所以将initSocket的两个 ...
分类:编程语言   时间:2017-06-05 22:21:28    阅读次数:146
zabbix-历史数据清理sql
mysql历史数据清理sql:truncatetablehistory_log;truncatetabletrends_uint;truncatetabletrends;truncatetablehistory_text;truncatetablehistory_str;truncatetablehistory_uint;truncatetablehistory;
分类:数据库   时间:2017-06-05 14:22:22    阅读次数:272
【MFC设置静态文本框背景为透明】
视图类中加入OnCtlColor()函数: IDC_STATIC1为静态文本框ID HBRUSH CAngleView::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr = CFormView::OnCtlColor(pDC ...
分类:编程语言   时间:2017-06-04 21:27:02    阅读次数:159
串口通讯 ADC0804 数码管
#include<reg52.h> #include<stdio.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int sbit dula=P2^6; sbit wela=P2^7; sbit adw ...
分类:其他好文   时间:2017-06-02 12:46:56    阅读次数:236
MFC线程
1、分类 工作者线程 -主要用于后台的耗时的操作,通常没有用户界面 用户界面线程 -拥有独立的用户界面 2、使用 2.1工作者线程的使用 1--首先实现线程的回调函数,函数原型:UINT MyControlingFunction(LPVOID pParam); 2--创建和启动工作者线程 AfxBe ...
分类:编程语言   时间:2017-05-29 22:54:16    阅读次数:300
改变对话框和控件的背景及文本颜色
WM_CTLCOLOR,响应函数:CWnd::OnCtlColor afx_msg HBRUSH OnCtlColor( CDC* pDC, //当前要绘制的控件的设备上下文的指针 CWnd* pWnd, //当前要绘制的控件的指针 UINT nCtlColor //要绘制的控件的类型 ); 1、改 ...
分类:其他好文   时间:2017-05-29 20:32:40    阅读次数:247
791条   上一页 1 ... 23 24 25 26 27 ... 80 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!