MessageBox的title在哪儿改

解决方案 »

  1.   

    MessageBox("两次输入不同","提醒",MB_OK | MB_ICONWARNING);
      

  2.   

    win32 SDK
    int MessageBox(
      HWND hWnd,          // handle of owner window
      LPCTSTR lpText,     // address of text in message box
      LPCTSTR lpCaption,  // address of title of message box
      UINT uType          // style of message box
    );
    CWindow
    int MessageBox( LPCTSTR lpszText, LPCTSTR lpszCaption = NULL, UINT nType = MB_OK );LPCTSTR lpCaption即为标题
      

  3.   

    这类问题楼主可以自己试试呀,
    比如:
    MessageBox("1","2", MB_OK);看看1和2的位置就可以了!
      

  4.   

    刚发完帖子就找到了答案,谢谢各位解答
    当时因为AfxMessageBox的标题改起来挺麻烦,没去查MessageBox的SDK
      

  5.   

    MessageBox("内容","标题",MB_OK);