How to get Rect of Popup menu in mfc(with C++)?

爷,独闯天下 提交于 2020-02-07 00:06:30

问题


I developed button and popup menu like this.

I want to process like this.

  1. When the mouse pointer is hovering Button A, show Popup Menu(1) and (2).

1-1) When the mouse pointer is hovering Popup Menu (1) or (2), show the popup menu continuous.

  1. When the mouse pointer is leaving from Button A to Popup Menu Area(in case - hovering B or C), close the popup menu.

So I've wondered how to get Rect Area of Popup Menu and how to know mouse pointer hovering the Popup menu.

Please send me some answer TT.. Thanks.

来源:https://stackoverflow.com/questions/59389778/how-to-get-rect-of-popup-menu-in-mfcwith-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!