Location:
Search - CreateWindow
Search list
Description: 该代码可以直接移植到PC机或嵌入式系统中实现对gif图片的显示-The code can be directly transplanted to PC or embedded system to realize gif picture display
Platform: |
Size: 8192 |
Author: fcsong000833 |
Hits:
Description: 这个由Visual C++ 5.0开发的SDI程序演示如何让程序运行时在Window 95或Windows NT 4.0的任务条上不显示出来,程序重载了CMainFrame中的PreCreateWindow()函数 COOL(29KB)-This Visual C++ 5.0 developed by SDI program demonstrates how to make the process run-time in the Window 95 or Windows NT 4.0 task bar does not show up, procedure overloading the CMainFrame in PreCreateWindow () function COOL (29KB)
Platform: |
Size: 29696 |
Author: lixing |
Hits:
Description: 编写BTNLOOK应用程序
1.实验名称 创建BTNLOOK应用程序
2.实验要求:学会创建一个简单完整的BTNLOOK程序,并调试运行。
3.实验内容: 实现课本中第十章的BTNLOOK应用程序,然后回答下面问题。
(1)说明CreateWindow函数各个参数的作用
-1 prepared BTNLOOK applications. Experiment name BTNLOOK application to create 2. Experimental requirements: Institute to create a simple procedure BTNLOOK complete, run and debug. 3. Experimental contents: the realization of the tenth chapter of textbooks BTNLOOK application, and then answer the questions below. (1) Description of the CreateWindow function of the role of various parameters
Platform: |
Size: 31744 |
Author: 李横 |
Hits:
Description: 新手可以看一下,这个小程序演示了和解释了如何使用纯API的CreateWindow和CreateWindowEx创建窗体,以及删除窗体,并演示如何使用列表框、编辑控件和按钮等常用窗体元素。-Novice can look at this small program to demonstrate and explain how to use pure API s CreateWindow and CreateWindowEx to create a form, as well as to form and demonstrate how to use the list boxes, edit controls and buttons and other elements commonly used form.
Platform: |
Size: 8192 |
Author: 108 |
Hits:
Description: 用CreateWindow创建主程序界面,比如列表框,文本框等等,并列举了系统进程,和进程内模块。以及文件定位等等。-Use CreateWindow to create the main program interface, such as list boxes, text boxes, etc., and lists the system process, and process modules. And file location and so on.
Platform: |
Size: 7168 |
Author: 潘卫国 |
Hits:
Description: 在WIN32中,模式对话框的创建一般是使用DialogBox来进行创建的。而非模式对话框则是利用CreateWindow来创建的。在MFC或是WTL中,模式对话框一般是使用DoModal,而非模式对话框的创建则是使用Create。
模式对话框创建后,程序的其他窗口便不能进行操作,必须将该窗口关闭后,其他窗口才能进行操作。而非模式对话框则无需这样,它不强制要求用户立即反应,而是与其他窗口同时接受用户操作。
-very good!!
Platform: |
Size: 4096 |
Author: 伊一 |
Hits:
Description: 用纯粹的API来创建窗口控件及其控制 作者: hwc 此代码示范并解释了如何用纯粹的API创建窗口控件,如使用CreateWindow和 CreateWindowEx在窗口中创建列表框、编辑框和按钮。不仅告诉你如何创建它们,而且还示范了如何使用。此外,代码还示范了如何用TAB、Shift+
-With pure API to create windows and control of control: hwc this code model and explains how to create window controls pure API, such as using CreateWindow and CreateWindowEx to create a list box in the window, edit boxes and buttons. Not only tells you how to create them, but also demonstrate how to use. In addition, the code also demonstrates how to use the TAB, Shift+
Platform: |
Size: 12288 |
Author: 王豪 |
Hits:
Description: it could help you create an edit window
Platform: |
Size: 1024 |
Author: tong |
Hits:
Description: c语言计算器,这个程序列完全不呼叫CreateWindow,也不处理WM_PAINT消息,不取得设备内容,也不处理鼠标消息。但是它只用了不到150行的原始码,就构成了一个具有完整健盘和鼠标接口以及10种运算的计算器.-c language calculator, this program calls out completely CreateWindow, do not handle WM_PAINT messages, the content does not get equipment, or handle the mouse messages. But it only took less than 150 lines of source to form a health drive and mouse with complete 10 operations interface and calculator.
Platform: |
Size: 2088960 |
Author: 流光使者 |
Hits:
Description: 实现内部操作命令的调用。是一个不错的shell框架实例- CreateWindow( “button”, “My Button”, WS_CLIPSIBLINGS|BS_PUSHBUTTON,0, 0, 58, 14, hWnd, NULL, g_hInstance, NULL )
Platform: |
Size: 2048 |
Author: tiange |
Hits:
Description: 小游戏。因为是初学者,所做的东西还不能算是厉害的,只能说正在努力的过程-#include<windows.h>
#include"resource.h"
#include<stdio.h>
LRESULT CALLBACK WndProc(HWND hwnd,UINT uMSG, WPARAM wParam,LPARAM lParam)
void DrawBitmap(HDC hdc,UINT ID, int x,int y,HWND hwnd)
void GameStart(HWND hwnd)
void GameOver(HWND hwnd)
void DrawTime(HDC hdc, int x, int y, int n, HWND hwnd)
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nShowCmd)
{
WNDCLASS wndclass
wndclass.cbClsExtra =0
wndclass.cbWndExtra =0
wndclass.hbrBackground =CreateSolidBrush(RGB(255,255,255))
wndclass.hCursor =LoadCursor(hInstance,MAKEINTRESOURCE(IDC_CURSOR2))
wndclass.hIcon =LoadIcon(hInstance,MAKEINTRESOURCE(IDI_ICON2))
wndclass.hInstance =hInstance
wndclass.lpfnWndProc =WndProc
wndclass.lpszClassName ="plane"
wndclass.lpszMenuName = NULL
wndclass.style = CS_VREDRAW||CS_HREDRAW
RegisterClass(&wndclass)
HWND hwnd
hwnd = CreateWindow("plane","game",WS_OVERLAPPEDWINDOW,0,0,800,600,NULL,NULL,hIns
Platform: |
Size: 702464 |
Author: xujialuo |
Hits:
Description: 利用OSG引擎编程,在OSG环境下创建窗口-OSG engine programming, the OSG environment to create a window
Platform: |
Size: 10112000 |
Author: 王晓峰 |
Hits:
Description: win 32 的窗口显示,//创建窗口 窗口类名,标题,样式,左上角坐标(X,Y),窗口的长和宽,父亲窗口,菜单,应用程序实例句柄,多文档
hWnd = CreateWindow(ClassName,
"我的窗口",
WS_OVERLAPPEDWINDOW,
100,100,
200,200,
NULL,
NULL,
hIns,
NULL) -win 32 Window show
Platform: |
Size: 1024 |
Author: 仄晨阡陌 |
Hits:
Description: 怎样使用在win32控制台程序创建OSG窗口。-tell you how to create a window in osg
Platform: |
Size: 14111744 |
Author: xiang |
Hits:
Description: 用C++实现的计算机图形中的种子填充算法,对学习编程和计算机图形学的很有帮助.-LoadIcon LoadCursor RegisterClass MessageBox CreateWindow ShowWindow UpdateWindow GetMessage TranslateMessage DispatchMessage SetPixel GetPixel InvalidateRect BeginPaint EndPaint PostQuitMessage DefWindowProc
Platform: |
Size: 38912 |
Author: yxs |
Hits:
Description: SuperMap iDesktop 7C 创建窗体-SuperMap iDesktop 7C create a form
Platform: |
Size: 172032 |
Author: 肖润阳 |
Hits:
Description: #include <Windows.h>
#include <gdiplus.h>
using namespace Gdiplus;
// Forward declarations
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
// Initialize GDI+
GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR gdiplusToken;
GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
// Create the window
WNDCLASSEX wcex = { 0 };
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = WndProc;
wcex.hInstance = hInstance;
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
wcex.lpszClassName = L"MyWindowClass";
RegisterClassEx(&wcex);
HWND hWnd = CreateWindow(L"MyWindowClass", L"My Window", WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL);
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
// Run the message loop
MSG msg = { 0 };
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
// Shutdown GDI+
GdiplusShutdown(gdiplusToken);
return (int)msg.wParam;
}
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_PAINT:
{
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hWnd, &ps);
// Create a Bitmap object and draw a line on it
Bitmap bmp(100, 100);
Graphics g(&bmp);
Pen pen(Color(255, 0, 0, 0)); // Red pen
g.DrawLine(&pen, 0, 0, 99, 99);
// Draw the bitmap on the window
Graphics graphics(hdc);
graphics.DrawImage(&bmp, 0, 0);
EndPaint(h
Platform: |
Size: 402171 |
Author: khaledmagd73@gmail.com |
Hits: