ReactOS  0.4.12-dev-18-gf469aca
aboutdlg.cpp File Reference
#include "rapps.h"
Include dependency graph for aboutdlg.cpp:

Go to the source code of this file.

Functions

static INT_PTR CALLBACK AboutDlgProc (HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
 
VOID ShowAboutDialog ()
 

Function Documentation

◆ AboutDlgProc()

static INT_PTR CALLBACK AboutDlgProc ( HWND  hDlg,
UINT  Msg,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 11 of file aboutdlg.cpp.

Referenced by ShowAboutDialog().

12 {
13  if ((Msg == WM_COMMAND) &&
14  (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL))
15  {
16  return EndDialog(hDlg, LOWORD(wParam));
17  }
18 
19  return FALSE;
20 }
#define IDOK
Definition: winuser.h:824
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
WPARAM wParam
Definition: combotst.c:138
struct @1571 Msg[]
#define WM_COMMAND
Definition: winuser.h:1716
#define IDCANCEL
Definition: winuser.h:825
#define LOWORD(l)
Definition: pedump.c:82

◆ ShowAboutDialog()

VOID ShowAboutDialog ( )

Definition at line 22 of file aboutdlg.cpp.

Referenced by CMainWindow::OnCommand().

23 {
26  hMainWnd,
27  AboutDlgProc);
28 }
#define IDD_ABOUT_DIALOG
Definition: resource.h:61
#define DialogBoxW(i, t, p, f)
Definition: winuser.h:4268
HWND hMainWnd
Definition: magnifier.c:33
static INT_PTR CALLBACK AboutDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: aboutdlg.cpp:11
HINSTANCE hInst
Definition: dxdiag.c:13
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582