ReactOS  0.4.11-dev-946-g431643b
generalpage.c File Reference
#include "precomp.h"
Include dependency graph for generalpage.c:

Go to the source code of this file.

Functions

VOID EnableCheckboxControls (HWND hDlg, BOOL bEnable)
 
INT_PTR CALLBACK GeneralPageWndProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 

Variables

HWND hGeneralPage
 
HWND hGeneralDialog
 

Function Documentation

◆ EnableCheckboxControls()

VOID EnableCheckboxControls ( HWND  hDlg,
BOOL  bEnable 
)

Definition at line 16 of file generalpage.c.

Referenced by GeneralPageWndProc().

17 {
21 }
#define IDC_CBX_STARTUP_ITEM
Definition: resource.h:29
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define IDC_CBX_SYSTEM_INI
Definition: resource.h:27
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
_In_ BOOL bEnable
Definition: winddi.h:3426
#define IDC_CBX_SYSTEM_SERVICE
Definition: resource.h:28

◆ GeneralPageWndProc()

INT_PTR CALLBACK GeneralPageWndProc ( HWND  hDlg,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 25 of file generalpage.c.

Referenced by CreatePropSheet(), EventLogProperties(), and OnCreate().

26 {
28 
29  switch (message)
30  {
31  case WM_INITDIALOG:
32  hGeneralDialog = hDlg;
34  /* FIXME */
37  return TRUE;
38  case WM_COMMAND:
39  switch(LOWORD(wParam))
40  {
44  break;
47  break;
48  default:
49  break;
50  }
51  }
52  return 0;
53 }
Definition: tftpd.h:59
#define TRUE
Definition: types.h:120
#define IDC_CBX_NORMAL_START
Definition: resource.h:24
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
#define IDC_CBX_DIAGNOSTIC_START
Definition: resource.h:25
VOID EnableCheckboxControls(HWND hDlg, BOOL bEnable)
Definition: generalpage.c:16
#define SendDlgItemMessage
Definition: winuser.h:5708
#define SWP_NOZORDER
Definition: winuser.h:1232
WPARAM wParam
Definition: combotst.c:138
smooth NULL
Definition: ftsmooth.c:416
#define IDC_CBX_SELECTIVE_STARTUP
Definition: resource.h:26
#define BM_SETCHECK
Definition: winuser.h:1882
#define SWP_NOACTIVATE
Definition: winuser.h:1227
#define WM_COMMAND
Definition: winuser.h:1716
#define SWP_NOSIZE
Definition: winuser.h:1230
#define BST_CHECKED
Definition: winuser.h:197
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
HWND hGeneralDialog
Definition: generalpage.c:13
#define WM_INITDIALOG
Definition: winuser.h:1715
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82
#define SWP_NOOWNERZORDER
Definition: winuser.h:1234

Variable Documentation

◆ hGeneralDialog

HWND hGeneralDialog

Definition at line 13 of file generalpage.c.

◆ hGeneralPage

HWND hGeneralPage

Definition at line 12 of file generalpage.c.

Referenced by MsConfig_OnTabWndSelChange(), MsConfigWndProc(), and OnCreate().