pmenuGetSubMenu(0)->CheckMenuItem(ID_FILE_OPEN,MF_BYCOMMAND|MF_ENABLED); 选中标记总是失败!!!! 30
打错了应该是intCMainFrame::OnCreate(LPCREATESTRUCTlpCreateStruct){GetSubMenu(0)->CheckMenuI...
打错了 应该是
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
GetSubMenu(0)->CheckMenuItem(ID_FILE_OPEN,MF_BYCOMMAND|MF_ENABLED);
}
选中ID_FILE_OPEN标记总是失败!!!! 展开
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
GetSubMenu(0)->CheckMenuItem(ID_FILE_OPEN,MF_BYCOMMAND|MF_ENABLED);
}
选中ID_FILE_OPEN标记总是失败!!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询