码迷,mamicode.com
首页 >  
搜索关键字:hinstance    ( 198个结果
7Windows_paint GDI绘图
// 7Windows_paint.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "7Windows_paint.h"#include "resource.h"#include HINSTANCE g_hInst = NULL;HANDLE g_hSt... ...
分类:Windows程序   时间:2016-06-10 08:34:21    阅读次数:332
10windows_font_text
#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst = NULL; //窗口句柄HANDLE... ...
分类:Windows程序   时间:2016-06-10 08:32:57    阅读次数:286
8Windows_paint2_bimap 位图
#include #include #include "resource1.h"//宏定义输出函数#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL);HINSTANCE g_hInst;HANDLE g_hStd... ...
分类:Windows程序   时间:2016-06-10 08:32:54    阅读次数:254
2windows_timer
// 2Window_Timer.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "2Window_Timer.h"#include HINSTANCE g_hInst;HANDLE g_hStdout = NULL;//宏定义输入函数#define P... ...
分类:Windows程序   时间:2016-06-10 08:32:04    阅读次数:306
9WinMap 映射
#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst = NULL; //窗口句柄HANDLE... ...
分类:Windows程序   时间:2016-06-10 08:31:20    阅读次数:240
1windows_Mouse
// WIN_PAINT_MESSAGE.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "windows_Mouse.h"#include HINSTANCE g_hInst = NULL;HANDLE g_hStdout = NULL;CHAR sz... ...
分类:Windows程序   时间:2016-06-10 08:31:09    阅读次数:234
3Windows_menu
// 3Windows_menu.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "3Windows_menu.h"#include HINSTANCE g_hInst;HANDLE g_hStdout = NULL;BOOL g_bCheckCut =... ...
分类:Windows程序   时间:2016-06-10 08:28:18    阅读次数:313
ShellExecute API函数用法简析
在VC/C++编程中,我们会经常遇到打开文件、网页、可执行程序的应用场景,ShellExecute API函数就可以做到这一点。现在我们看看它的强大!           ShellExecute函数原型:           HINSTANCE ShellExecute(                            HWND hwnd,...
分类:Windows程序   时间:2016-05-31 10:39:21    阅读次数:391
Window Direct3D游戏开发入门——Bomb游戏
第一步:程序入口函数 int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) 主函数中主要实现以下功能: 初始化窗口对象,并注册     //初始化窗口对象     WNDCLASSEX wc;     wc.cbClsExtra = 0;     w...
分类:Windows程序   时间:2016-05-06 16:14:04    阅读次数:350
创建一个简单的计时器
#include<windows.h>#include<tchar.h>#define TIME 5LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);int WINAPI WinMain(HINSTANCE hInstance, HINSTAN ...
分类:其他好文   时间:2016-04-27 22:28:26    阅读次数:234
198条   上一页 1 ... 5 6 7 8 9 ... 20 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!