CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - windowproc
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - windowproc - List
[
Windows Develop
]
WindowProc
DL : 0
窗口处理程序的源码,里面包含八个工程,对于初学windows编程的同学来说是很有用的
Date
: 2008-10-13
Size
: 96.04kb
User
:
ChenNan
[
Windows Develop
]
WindowProc
DL : 0
窗口处理程序的源码,里面包含八个工程,对于初学windows编程的同学来说是很有用的-Window handle of the source program, which contains eight projects for the beginner students windows programming is very useful
Date
: 2025-07-01
Size
: 96kb
User
:
ChenNan
[
Windows Develop
]
thunk
DL : 0
thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记录下来,然后转向到静态stdProc回调函数,转向之前先记录HWND,然后把堆栈里HWND的内容替换为this指针,这样在stdProc里就可以从HWND取回对象指针,定位到WindowProc了-thunk is a group of dynamically generated ASM command, it records the window class object this pointer, and this group of commands can be used as a function of both the process can also be a window to use. thunk first window object this pointer record, and then shifted to the static callback function stdProc, before turning record HWND, and then the contents of the stack where HWND replace this pointer, so in stdProc can retrieve the object from the HWND pointer, locate the WindowProc
Date
: 2025-07-01
Size
: 6kb
User
:
lixw
[
Delphi VCL
]
hook
DL : 0
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
Date
: 2025-07-01
Size
: 9kb
User
:
xax2
[
Dialog_Window
]
Project1
DL : 0
标题栏重绘,重载WindowProc。使用Delphi系统编写,请测试-The title bar is redrawn, heavy WindowProc. Written using Delphi system, test
Date
: 2025-07-01
Size
: 804kb
User
:
zgz
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.