The "Execute..."-dialog lets the user enter a command line to launch. More...
#include <filechild.h>
Static Public Member Functions | |
static INT_PTR CALLBACK | WndProc (HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam) |
Public Attributes | |
TCHAR | cmd [MAX_PATH] |
int | cmdshow |
The "Execute..."-dialog lets the user enter a command line to launch.
Definition at line 133 of file filechild.h.
INT_PTR CALLBACK ExecuteDialog::WndProc | ( | HWND | hwnd, |
UINT | nmsg, | ||
WPARAM | wparam, | ||
LPARAM | lparam | ||
) | [static] |
Definition at line 98 of file filechild.cpp.
References cmd, cmdshow, and COUNTOF.
Referenced by MainFrameBase::Command().
{ static struct ExecuteDialog* dlg; switch(nmsg) { case WM_INITDIALOG: dlg = (struct ExecuteDialog*) lparam; return 1; case WM_COMMAND: { int id = (int)wparam; if (id == IDOK) { GetWindowText(GetDlgItem(hwnd, 201), dlg->cmd, COUNTOF(dlg->cmd)); dlg->cmdshow = Button_GetState(GetDlgItem(hwnd,214))&BST_CHECKED? SW_SHOWMINIMIZED: SW_SHOWNORMAL; EndDialog(hwnd, id); } else if (id == IDCANCEL) EndDialog(hwnd, id); return 1;} } return 0; }
TCHAR ExecuteDialog::cmd[MAX_PATH] |
Definition at line 135 of file filechild.h.
Referenced by WndProc().
ROS Explorer Source Code Documentation
generated on 02.01.2013 by ![]() |