搜索资源列表
BdbPlayCap
- 这个程序是 DirectX SDK 里面的 PlayCap 转成 C++ Builder 版本的源程序(显示摄像头的视频画面)。 编译环境: C++ Builder 6.0 DirectX 9 SDK for C++ Builder. 以下为编写 DirectX 程序所必需的设定: 工程文件参数设定:选菜单 Project → Options 在 Directories / Conditional
toolbar
- I made a lot of changed on this object,such as * // 1.Encapsulates all code in one userobjet,since PB does not * // support \"Address of Function\" , so we can not set new * // WndProc, just makes the obj
cppbuilderdvp
- c++builder开发指南程序包括com+,thread,web设计,WndProc等
BdbPlayCap
- 这个程序是 DirectX SDK 里面的 PlayCap 转成 C++ Builder 版本的源程序(显示摄像头的视频画面)。 编译环境: C++ Builder 6.0 DirectX 9 SDK for C++ Builder. 以下为编写 DirectX 程序所必需的设定: 工程文件参数设定:选菜单 Project → Options 在 Directories / Conditional
toolbar
- I made a lot of changed on this object,such as * // 1.Encapsulates all code in one userobjet,since PB does not * // support "Address of Function" , so we can not set new * // WndProc, just makes the objec
cppbuilderdvp
- c++builder开发指南程序包括com+,thread,web设计,WndProc等-c++ builder to develop guidelines for procedures including com+, thread, web design, WndProc, etc.
MyTreeView
- If you set an item s height to greater than 24 pixels, the value is automatically reduced to 24 pixels before being processed. To bypass this limitation, you can override the TreeView class and the WndProc method, and th
test
- #include "windows.h" #include "stdlib.h" #include "string.h" long WINAPI WndProc(HWND hWnd,UINT iMessage,UINT wParam,LONG lParam)
WndProc
- 用C++ Builder编写的操作系统处理程序,经过测试,能用-C++ Builder with the preparation process of the operating system, after testing, can be
wujiaoxing
- 用API函数编写一个五角星,五条线相接,并且填充不同颜色-long WINAPI WndProc(HWND hWnd,UINT iMessage, UINT wParam,LONG lParam) BOOL InitWindowsClass(HINSTANCE hInstance) BOOL InitWindows(HINSTANCE hInstance,int nCmdShow) int WINAPI WinMain
NeHeOpenGL
- NEHE教程所有源码,对学习OpenGL的初学者有很大的帮助。-#include <windows.h> // Header File For Windows #include <gl\gl.h> // Header File For The OpenGL32 Library #include <gl\glu.h> // Header File For The GLu32 Libra
move_window
- 窗体移动的代码,有两种方式,一种使用传统的e参数传递来移动,另外一种使用重写wndproc()的方法来移动窗体。-Form moving code, there are two ways, one using the traditional e parameter to move, another way to use overwrite wndproc () method to move the form.
hook
- hook function procedure HookWindow(hWnd: HWND) var Item: PItem begin if FindWindowProc(hWnd, HandleList) = nil then begin GetMem(Item,Sizeof(TItem)) Item.hWnd:= hWnd Item.Next:= HandleList
list
- Provide a Horizontal Scroll Event for a Listbox Subclassing a listbox allows you to monitor horizontal scrolling. To subclass a listbox, you store the original WndProc in the UserData area of the listbox, allowing a si
WINDOWS_DLL_program
- windows 核心编程之动态链接库部分。 当调用下面所示的SetWindowsLongPtr函数,建立一个窗口的子类时,你告诉系统,发送到或者显示在hwnd设定的窗口中的所有消息都应该送往MySubclassProc,而不是送往窗口的正常窗口过程: SetWindowLongPtr(hwnd, GWLP_WNDPROC, MySubclassProc) 换句话说,当系统需要将消息发送到指定窗口的WndProc
game2
- 小游戏。因为是初学者,所做的东西还不能算是厉害的,只能说正在努力的过程-#include<windows.h> #include"resource.h" #include<stdio.h> LRESULT CALLBACK WndProc(HWND hwnd,UINT uMSG, WPARAM wParam,LPARAM lParam) void DrawBitmap(HDC hdc,UI
MdiApp
- LRESULT CALLBACK WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) LRESULT CALLBACK MDIChildWndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) char g_szAppName[] = "MyMDIWindow"
CustomCtrl1
- 对已建立的控件进(实例)行子类化 MiniGUI 的控件就是一类特殊的子窗口,所以它们也有自己的过程处理函数 typedef int (* WNDPROC) (HWND, int, WPARAM, LPARAM) 。这种方式的实现其实就是替换掉已经创建了的控件原来的过程出来函数。这个函数其实是每个控件结构体变量里一个函数指针所指向的。通过函数指针指向不同的处理函数就能实现控件的不同功能已经不同的属性。再配合上每个控件的实例数据(后面再说
WndProc-Fuction
- windows chuankou guocheng shuoming
qw
- 函数: InitInstance(HINSTANCE, int) 目的: 保存实例句柄并创建主窗口 函数: WndProc(HWND, UINT, WPARAM, LPARAM) 目的: 处理主窗口的消息-Function: InitInstance (HINSTANCE, int) Objective: To save the instance handle and creates main window function