0

In my application I created two procedures namely callbackwnd procedure 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

leppie
  • 115,091
  • 17
  • 196
  • 297
karthik
  • 17,453
  • 70
  • 78
  • 122

1 Answers1

0

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.

karthik
  • 17,453
  • 70
  • 78
  • 122