![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2005
Posts: 2
Rep Power: 0
![]() |
handle for windows
Can I block the catching of messages of some window by it`s handle?
for example, i have a windows by title MyWindow and i know it`s HWND and I want to block the catching of WM_LBUTTONDOWN. If I can then how? |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4
![]() |
What do you mean by "block"...
if you mean intercept...then use hooks... if you mean "stop" then the easiest idea would be getting the address of the window procedure using getwindowlong and setting it to your own procedure using setwindowlong....and then transmitting only the messages/notifications you want.
__________________
Spread your wings and fly! Chicken! |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Dec 2005
Posts: 2
Rep Power: 0
![]() |
Thank you. I meaned intercept and it`s working
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|