How to draw in the nonclient area?

前端 未结 4 385
醉梦人生
醉梦人生 2021-01-02 08:25

I\'d like to be able to do some drawing to the right of the menu bar, in the nonclient area of a window.

Is this possible, using C++ / MFC?

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-02 09:15

    If you just want something in the menu bar, maybe it is easier/cleaner to add it as a right-aligned menu item. This way it'll also work with different Windows themes, etc.

提交回复
热议问题