I'd like to write a utility in the vein of PowerMenu - it adds some extra stuff into all applications' window menus (alt-space, that menu).
How does one go about doing this?
I'd like to write a utility in the vein of PowerMenu - it adds some extra stuff into all applications' window menus (alt-space, that menu).
How does one go about doing this?
It's a classic code posted ~14 years ago on google (groups)
See Win32 grp for official method (MS, with hooks)
I'd personally use SetWindowsHookEx(), WH_CALLWNDPROC, and a CallWndProc to achieve step 1, requiring a call to UnhookWindowsHookEx() in step 4, and bit of custom message pumping to get step 2 rolling. That's just personal preference though.