|
|
By judging the coordinate position of the mouse, if it is in the area required above, the menu is displayed, and the code for the menu display: AfxGetMainWnd ()-> SetMenu (specified menu resource); otherwise, the menu is not displayed, the code:
AfxGetMainWnd ()-> SetMenu (NULL); |
|