zhuang@linux:~/reading/programming-windows/07-the-mouse/$ less

Programming Windows / chapter 07

The Mouse

$ grep tags 07-the-mouse.md

This post extracts some knowledge from Programming Windows Chapter 7 – The Mouse.

If you want your window procedure to receive double-click mouse messages, you must include the identifier CS_DBLCLKS when initializing the style field in the window class structure before calling RegisterClass:

c
wndclass.style = CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS ;

zhuang@linux:~/reading/programming-windows/07-the-mouse/$ comments