|
-
March 30th, 2007, 11:07 AM
#1
hooking into WM_PAINT event of an application
Hi can anyone show me how to hook into the paint event of an application for example calculator.
What i would like to do i add additional functionality when the screen is refreshed.
Thanks Matt.
-
March 30th, 2007, 02:31 PM
#2
Re: hooking into WM_PAINT event of an application
What I would do is:
1. Subclass the application's main window.
2. Look for WM_PAINT
- Pass message to original window function, then add your own drawing afterwards.
3. Pass on all other messages wholesale.
Henri Hein
Principal Engineer, Propel
Do not credit Propel with my views or opinions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|