Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework to replace the frame window menu.
afx_msg LRESULT OnSetMenu(
WPARAM wp,
LPARAM lp
);
BOOL OnSetMenu(
HMENU hmenu
);
Parameters
[in] wp
Handle to the new frame window menu.[in] lp
Handle to the new window menu.[in] hmenu
Handle to the new frame window menu.
Return Value
LRESULT is the result from calling the default window procedure.
BOOL is TRUE if the event was handled; otherwise, FALSE.
Requirements
Header: afxframewndex.h