ReactOS 0.4.15-dev-7958-gcd0bb1a
notifyiconscust.cpp File Reference
#include "precomp.h"
Include dependency graph for notifyiconscust.cpp:

Go to the source code of this file.

Functions

INT_PTR CALLBACK CustomizeNotifyIconsProc (HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
 
VOID ShowCustomizeNotifyIcons (HINSTANCE hInst, HWND hExplorer)
 

Function Documentation

◆ CustomizeNotifyIconsProc()

INT_PTR CALLBACK CustomizeNotifyIconsProc ( HWND  hwnd,
UINT  Message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 23 of file notifyiconscust.cpp.

24{
25 switch(Message)
26 {
27 case WM_INITDIALOG:
28
29 return TRUE;
30 case WM_COMMAND:
31 switch(LOWORD(wParam))
32 {
33 case IDOK:
35 break;
36 case IDCANCEL:
38 break;
39 }
40 break;
41 default:
42 return FALSE;
43 }
44 return TRUE;
45}
WPARAM wParam
Definition: combotst.c:138
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static const WCHAR Message[]
Definition: register.c:74
#define LOWORD(l)
Definition: pedump.c:82
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
#define IDCANCEL
Definition: winuser.h:831
#define WM_COMMAND
Definition: winuser.h:1740
#define WM_INITDIALOG
Definition: winuser.h:1739
#define IDOK
Definition: winuser.h:830
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)

Referenced by ShowCustomizeNotifyIcons().

◆ ShowCustomizeNotifyIcons()

VOID ShowCustomizeNotifyIcons ( HINSTANCE  hInst,
HWND  hExplorer 
)

Definition at line 47 of file notifyiconscust.cpp.

48{
50}
#define IDD_NOTIFICATIONS_CUSTOMIZE
Definition: resource.h:86
HINSTANCE hInst
Definition: dxdiag.c:13
INT_PTR CALLBACK CustomizeNotifyIconsProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
#define DialogBoxW(i, t, p, f)
Definition: winuser.h:4399
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582

Referenced by CTrayWindow::ExecContextMenuCmd(), and CNotifySettingsPage::OnCustomizeTrayIcons().