Which MFC control does this?
-
Which control is behind the function of offering a selection of options usually when right-clicking on whatever? Like function Open, New, Copy, etc. I do not mean menus. For example on the VC++ screen, if I right-click on a code line, I receive the list of selections "Cut, Copy, Paste, Insert File into Project, Open Document, List Members,...".
-
Which control is behind the function of offering a selection of options usually when right-clicking on whatever? Like function Open, New, Copy, etc. I do not mean menus. For example on the VC++ screen, if I right-click on a code line, I receive the list of selections "Cut, Copy, Paste, Insert File into Project, Open Document, List Members,...".
This can be done using the CMenu class (CMenu is not only for menus under your title bar). Check the TrackPopupMenu function for more details...
-
This can be done using the CMenu class (CMenu is not only for menus under your title bar). Check the TrackPopupMenu function for more details...