In my application I have a list view in report mode. I want when the user does a right click on an item from the list view to open a popup menu. The menu works, but it doesn't show properly(it is dysplayed very narrow, so the text is not shown, but I can choose a command from it and the message handler is called).
void CKasaDBDlg::OnRclickMainListview(NMHDR* pNMHDR, LRESULT* pResult)
// TODO: Add your control notification handler code here
theMenu.AppendMenu(MF_STRING | MF_ENABLED,ID_MAIN_LV_DELETE,"Delete");
Any suggestions are appreciated.