I’m using the following code to display a popup-menu from a CDialog When the menu is displayed, it appears as a thin-ish vertical line with Can anyone tell me what I am doing wrong? void CRs232ClientDlg::OnRButtonDown(UINT nFlags, CPoint point)
}
Thanks in advance, |
There may be an “appropriate” solution, I don’t know, but this works: Create your menu (IDR_MENU1) with a single popup menu item (sub-menu) menu.LoadMenu(IDR_MENU1);
|
On Mon, 18 Oct 1999 15:42:39 GMT, Damian Powell wrote:
>When the menu is displayed, it appears as a thin-ish vertical line with >no text. However, the highlight does move as I move the mouse down the >menu and the correct menu items are selected from the various positions. You’ve loaded a bar menu rather than a popup. |