开发者

How to Unhook two hook procedures simultaneously?

开发者 https://www.devze.com 2023-02-12 06:51 出处:网络
In my application I created two procedures namely callbackwnd proc开发者_开发百科edure to handle focus events and mouse procedure to handle mouse click events.when I unhook the two procedure the appli

In my application I created two procedures namely callbackwnd proc开发者_开发百科edure to handle focus events and mouse procedure to handle mouse click events.when I unhook the two procedure the application will flicker little bit.how to overcome this?

I also like to know which procedure is first to use unhook function ?

Regards, Karthik


You can unhook any procedure at any time.preferably unhook the procedure while closing the window(WM_CLOSE).

The flickering may happened due to unhooking the function twice.

0

精彩评论

暂无评论...
验证码 换一张
取 消