Welcome![Sign In][Sign Up]
Location:
Search - WNDPROC

Search list

[Multimedia programBdbPlayCap

Description: 这个程序是 DirectX SDK 里面的 PlayCap 转成 C++ Builder 版本的源程序(显示摄像头的视频画面)。 编译环境:  C++ Builder 6.0  DirectX 9 SDK for C++ Builder. 以下为编写 DirectX 程序所必需的设定: 工程文件参数设定:选菜单 Project → Options 在 Directories / Conditionals 选项页面里面:  1. Include path 添加 DX9SDK\\Include 所在文件夹  2. Library path 添加 DX9SDK\\Lib 所在文件夹  3. Conditional defines: 添加 STRICT SDK 程序转为 BCB 的 Form 程序,只需重载 Form 的 WndProc,窗口消息函数改用 Form 的 WndProc 函数就可以了。
Platform: | Size: 208342 | Author: lanxin | Hits:

[Othertoolbar

Description: 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 object more easy to use. * // 2.Uses structure array instead of Datastore * // 3.Calc width of menuitem at runtime(MEASUREITEM) * // 4.Draw disabled status
Platform: | Size: 73198 | Author: 双职工 | Hits:

[ActiveX/DCOM/ATLcppbuilderdvp

Description: c++builder开发指南程序包括com+,thread,web设计,WndProc等
Platform: | Size: 10889257 | Author: mark914a1 | Hits:

[Multimedia programBdbPlayCap

Description: 这个程序是 DirectX SDK 里面的 PlayCap 转成 C++ Builder 版本的源程序(显示摄像头的视频画面)。 编译环境:  C++ Builder 6.0  DirectX 9 SDK for C++ Builder. 以下为编写 DirectX 程序所必需的设定: 工程文件参数设定:选菜单 Project → Options 在 Directories / Conditionals 选项页面里面:  1. Include path 添加 DX9SDK\Include 所在文件夹  2. Library path 添加 DX9SDK\Lib 所在文件夹  3. Conditional defines: 添加 STRICT SDK 程序转为 BCB 的 Form 程序,只需重载 Form 的 WndProc,窗口消息函数改用 Form 的 WndProc 函数就可以了。 -DirectX SDK This procedure is inside PlayCap into C++ Builder version of the source (video camera display screen). Compiler environment: C++ Builder 6.0 DirectX 9 SDK for C++ Builder. Following the procedure for the preparation of the necessary DirectX settings: project file parameter settings: choose menu Project → Options in the Directories/Conditionals page inside options: 1. Include path where the folder DX9SDKInclude add 2. Library path where the folder DX9SDKLib add 3. Conditional defines: Add STRICTSDK procedure to BCB s Form procedures, simply overloaded Form s WndProc, window message function to switch to Form s WndProc function it.
Platform: | Size: 207872 | Author: lanxin | Hits:

[Othertoolbar

Description: 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 object more easy to use. * // 2.Uses structure array instead of Datastore * // 3.Calc width of menuitem at runtime(MEASUREITEM) * // 4.Draw disabled status-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 object more easy to use.*// 2.Uses structure array instead of Datastore*// 3.Calc width of menuitem at runtime (MEASUREITEM)*// 4.Draw disabled status
Platform: | Size: 72704 | Author: 双职工 | Hits:

[ActiveX/DCOM/ATLcppbuilderdvp

Description: c++builder开发指南程序包括com+,thread,web设计,WndProc等-c++ builder to develop guidelines for procedures including com+, thread, web design, WndProc, etc.
Platform: | Size: 10889216 | Author: | Hits:

[TreeViewMyTreeView

Description: 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 then modify the parameters of the TVM_SETITEMHEIGHT message. The source code that can be downloaded will help you to better understand the concept.
Platform: | Size: 1024 | Author: | Hits:

[Windows Developtest

Description: #include "windows.h" #include "stdlib.h" #include "string.h" long WINAPI WndProc(HWND hWnd,UINT iMessage,UINT wParam,LONG lParam)
Platform: | Size: 1024 | Author: dan | Hits:

[Windows DevelopWndProc

Description: 用C++ Builder编写的操作系统处理程序,经过测试,能用-C++ Builder with the preparation process of the operating system, after testing, can be
Platform: | Size: 3072 | Author: bunny | Hits:

[Graph Recognizewujiaoxing

Description: 用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(HINSTANCE hInstance,HINSTANCE hPrenInstance,LPSTR lpCmdLin,int nCmdShow)
Platform: | Size: 1024 | Author: gaoying | Hits:

[OpenGL programNeHeOpenGL

Description: 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 Library #include <gl\glaux.h> // Header File For The Glaux Library HDC hDC=NULL // Private GDI Device Context HGLRC hRC=NULL // Permanent Rendering Context HWND hWnd=NULL // Holds Our Window Handle HINSTANCE hInstance // Holds The Instance Of The Application bool keys[256] // Array Used For The Keyboard Routine bool active=TRUE // Window Active Flag Set To TRUE By Default bool fullscreen=TRUE // Fullscreen Flag Set To Fullscreen Mode By Default LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM) // Declaration For WndProc GLvoid ReSizeGLScene(GLsizei width, GLsizei height) // Resize And Initialize The GL Window { if (height==0) // Prevent A Divide By Zero By { height=1 // Making Height Equal One } glViewport(0,0,width,height)
Platform: | Size: 11925504 | Author: 任龙 | Hits:

[CSharpmove_window

Description: 窗体移动的代码,有两种方式,一种使用传统的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.
Platform: | Size: 3038208 | Author: 小黄 | Hits:

[Delphi VCLhook

Description: 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 Item.WndProc:= Pointer(SetWindowLong(hWnd,GWL_WNDPROC,LongInt(@WindowProc))) HandleList:= Item end end -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 Item.WndProc:= Pointer(SetWindowLong(hWnd,GWL_WNDPROC,LongInt(@WindowProc))) HandleList:= Item end end
Platform: | Size: 9216 | Author: xax2 | Hits:

[Windows Developlist

Description: 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 single replacement of WndProc to work for all ListBox controls. WndProc notifies your form of a horizontal scroll message by sending a WM_MOUSEMOVE message with negative coordinates. The MouseMove event receives negative X and Y values, plus a Button value when horizontally scrolled, which is impossible under normal operation. Be sure to restore the original WndProc in the Form_Unload event:
Platform: | Size: 1024 | Author: beto | Hits:

[Software EngineeringWINDOWS_DLL_program

Description: windows 核心编程之动态链接库部分。 当调用下面所示的SetWindowsLongPtr函数,建立一个窗口的子类时,你告诉系统,发送到或者显示在hwnd设定的窗口中的所有消息都应该送往MySubclassProc,而不是送往窗口的正常窗口过程: SetWindowLongPtr(hwnd, GWLP_WNDPROC, MySubclassProc) 换句话说,当系统需要将消息发送到指定窗口的WndProc时,要查看它的地址,然后直接调用WndProc。在本例中,系统发现MySubclassProc函数的地址与窗口相关联,因此就直接调用MySubclassProc函数 -windows95 programer . Dynamic link library programing.
Platform: | Size: 609280 | Author: rosex | Hits:

[Other Riddle gamesgame2

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:

[Windows DevelopMdiApp

Description: 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" char g_szChild[] = "MyMDIChild" HINSTANCE g_hInst HWND g_hMDIClient, g_hStatusBar, g_hToolBar HWND g_hMainWindow - 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" char g_szChild[] = "MyMDIChild" HINSTANCE g_hInst HWND g_hMDIClient, g_hStatusBar, g_hToolBar HWND g_hMainWindow
Platform: | Size: 5120 | Author: wangb | Hits:

[Other Embeded programCustomCtrl1

Description: 对已建立的控件进(实例)行子类化 MiniGUI 的控件就是一类特殊的子窗口,所以它们也有自己的过程处理函数 typedef int (* WNDPROC) (HWND, int, WPARAM, LPARAM) 。这种方式的实现其实就是替换掉已经创建了的控件原来的过程出来函数。这个函数其实是每个控件结构体变量里一个函数指针所指向的。通过函数指针指向不同的处理函数就能实现控件的不同功能已经不同的属性。再配合上每个控件的实例数据(后面再说这个东东),是不是有点像面向对象的感觉了呢 ^_^。 -Has established controls into line subclass of MiniGUI control of the (instance) is a special kind of child windows, so they also have their own process handler typedef for int (* WndProc) (HWND, int, wParam, LPARAM). The realization of this approach is in fact replace the controls have created the original process out function. This function is actually a function pointer points to each control structure variables. Through a function pointer to point to a different handler will be able to control different functions have different properties. With each control instance data (back to say this stuff), is not a bit like an object-oriented feel it ^ _ ^.
Platform: | Size: 28672 | Author: 张立志 | Hits:

[Software EngineeringWndProc-Fuction

Description: windows chuankou guocheng shuoming
Platform: | Size: 25600 | Author: shengronghui | Hits:

[Otherqw

Description: 函数: InitInstance(HINSTANCE, int) 目的: 保存实例句柄并创建主窗口 函数: WndProc(HWND, UINT, WPARAM, LPARAM) 目的: 处理主窗口的消息-Function: InitInstance (HINSTANCE, int) Objective: To save the instance handle and creates main window function: WndProc (HWND, UINT, WPARAM, LPARAM) Purpose: To address the main window message
Platform: | Size: 1956864 | Author: 胡兆祥 | Hits:
« 12 »

CodeBus www.codebus.net