Help Center
Help Center›AfxNova

CMenu.Attachmethod

Attaches a menu to a window or dialog.

WindowsmethodCMenu.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION CMenu.Attach (BYVAL hMenu AS HMENU, BYVAL hwnd AS HWND) AS BOOLEAN

Description

Attaches a menu to a window or dialog.

Reference

  • Include file CMenu.inc
  • Defined in AfxNova/CMenu.inc:867