Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个自定义背景非矩形窗口,其中包含位图中的最小化和关闭等按钮。 这是我现在 的代码问题是自定义窗口在悬停在非零 alpha 区域上时不接收鼠标消息。
由于最小化和关闭按钮在窗口客户区之外,除了 WM_LBUTTONUP 之外,您还需要捕获 WM_NCLBUTTONUP