How to draw in the nonclient area?

前端 未结 4 413
醉梦人生
醉梦人生 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:04

    In order to draw in the non-client area, you need to get the "window" DC (rather than "client" DC), and draw in the "window" DC.

提交回复
热议问题