im trying to make a context menu, (or pop-up menu) and this code is screwing me over, tell me whats wrong
Code:
                CMenu *m_lMenu;  //pointer to the menu
	CPoint m_pPoint; //mouse position

	//copy the mouse position to a local var
	m_pPoint = point;
	//convert the position to a local var
	ClientToScreen(&m_pPoint);
	//get a pointer to the window menu
	m_lMenu - GetMenu();
	//get a pointer to the first submenu
	m_lMenu = m_lMenu->GetSubMenu(0);
	//show the popup menu
	m_lMenu->TrackPopupMenu(TPM_CENTERALIGN + TPM_LEFTBUTTON, m_pPoint.x, m_pPoint.y, this, NULL);