vs2012上遇到的错误
错误 3 error C2181: 没有匹配 if 的非法 else c:\users\zhong\desktop\我的程序\c++qt程序\test\sineware\sineware\sineware.cpp304 1 SineWare
case WM_SYSCOMMAND:
{
int nID = wParam;
if(nID == IDM_HELP)
{
MessageBox(hWnd, _T("一个时钟的例子"), _T("时钟"), 0);
}
else if(nID == IDM_TOPMOST);
{
HMENU hMenu = GetSystemMenu(hWnd, FALSE);
if(s_bTopMost)
{
CheckMenuItem(hMenu, IDM_TOPMOST, MF_UNCHECKED);
SetWindowPos(hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOREDRAW | SWP_NOSIZE);
s_bTopMost = FALSE;
}
else
{
CheckMenuItem(hMenu, IDM_TOPMOST, MF_CHECKED);
SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0