Reputation: 801
I'm coding a custom background non rectangular window with buttons such as minimize and close in bitmaps. Here is my code just for now The problem is the custom window does not receive mouse messages while hovering over non zero alpha regions.
Upvotes: 1
Views: 1929
Reputation: 2831
Since minimize and close buttons are outside window client area, you need to capture WM_NCLBUTTONUP in addition to WM_LBUTTONUP
Upvotes: 1