Lines Matching refs:hWnd
49 BOOL CALLBACK MainDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
50 BOOL CALLBACK PauseDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
53 hWnd(NULL),
109 hWnd = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_DIALOG_MAIN), GetDesktopWindow(), (DLGPROC)MainDlgProc, (LPARAM)this);
110 if(hWnd == NULL)
117 SetWindowPos(hWnd, bOnTop ? HWND_TOPMOST : HWND_NOTOPMOST, 0,0,0,0, SWP_NOMOVE | SWP_NOSIZE);
124 if(hWnd != NULL)
127 HWND hWndOutput = GetDlgItem(hWnd, IDC_MAIN_OUTPUT);
134 DialogBox(hInst, MAKEINTRESOURCE(IDD_DIALOG_PAUSE), hWnd, (DLGPROC)PauseDlgProc);
139 if(GetWindowRect(hWnd, &rc))
142 DestroyWindow(hWnd);
143 hWnd = NULL;
151 hWnd = NULL;
173 HWND hWndOutput = GetDlgItem(hWnd, IDC_MAIN_OUTPUT);
184 HWND hWndOutput = GetDlgItem(hWnd, IDC_MAIN_OUTPUT);