I have a windows program:


Code:
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,  LPSTR lpCmdLine, int nCmdShow)
{


...

hCurPage = CreateDialog (hInst, MAKEINTRESOURCE(IDD_DIALOG_WINDOW), NULL,  (DLGPROC) WndProc);

	ShowWindow(hCurPage, SW_SHOW);

...
}
After the CreateDialog call, the window comes up, but it doesn't seem to refresh itself. I have one meter, some text and a bitmap-picture on it. How do I refresh it? Can I use the SHowWindow callagain? Could I set a timer to call it over and over again?