I've got a program that looks like
CommentDlg is just a switch statement - basically a WinProc. On XP VS2003, it just stays in the top left corner and cannot be moved. On Vista VS2005, I can move it round. I don't have VS2005 on XP.
I'm just wondering: is this an XP problem or a VS2003 problem. If it is a VS2003 problem then I'll have to uninstall VS2003 and find a copy of VS2005 somewhere that I can install.
Code:
#include "stdafx.h"
#include "resource.h"
#include "CommentDlg.h"
int APIENTRY WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
DialogBox(hInstance, MAKEINTRESOURCE(IDD_COMMENTDLG), 0, (DLGPROC)CommentDlg);
return 0;
}
I'm just wondering: is this an XP problem or a VS2003 problem. If it is a VS2003 problem then I'll have to uninstall VS2003 and find a copy of VS2005 somewhere that I can install.