PopHwnd
How to retrieve the handle of a popup menu. This sample uses a derivative of the technique created for the Windows Styles article in Visual Basic Programmer's Journal.
About this post
Posted: 2017-08-13
By: BlackBeltVB
Viewed: 468 times
Categories
Attachments
POPHWND.ZIP
Posted: 8/13/2017 11:01:00 AM
Size: 2,505 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Special Instructions
Uses the following API functions:
- CallNextHookEx
- CopyMemory (RtlMoveMemory)
- SetWindowsHookEx
- UnHookWindowsHookEx
- WM_CREATE
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.