ReactOS  0.4.15-dev-2947-g59e1b78
main.h File Reference
#include "resource.h"
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ChildWnd
 

Macros

#define SPLIT_WIDTH   5
 
#define MAX_LOADSTRING   100
 
#define _NO_EXTENSIONS
 

Functions

void UpdateStatusBar (void)
 

Variables

HINSTANCE hInst
 
HACCEL hAccel
 
HWND hFrameWnd
 
HMENU hMenuFrame
 
HWND hMDIClient
 
HWND hStatusBar
 
HWND hToolBar
 
HFONT hFont
 
TCHAR szTitle []
 
TCHAR szFrameClass []
 
TCHAR szChildClass []
 

Macro Definition Documentation

◆ _NO_EXTENSIONS

#define _NO_EXTENSIONS

Definition at line 43 of file main.h.

◆ MAX_LOADSTRING

#define MAX_LOADSTRING   100

Definition at line 41 of file main.h.

◆ SPLIT_WIDTH

#define SPLIT_WIDTH   5

Definition at line 40 of file main.h.

Function Documentation

◆ UpdateStatusBar()

void UpdateStatusBar ( void  )

Definition at line 149 of file solitaire.cpp.

150 {
151  TCHAR szStatusText[128];
152  TCHAR szTempText[64];
153 
154  ZeroMemory(szStatusText, sizeof(szStatusText));
155 
156  if (GetScoreMode() != SCORE_NONE)
157  {
158  _stprintf(szStatusText, szScore, lScore);
159  _tcscat(szStatusText, _T(" "));
160  }
161 
163  {
164  _stprintf(szTempText, szTime, dwTime);
165  _tcscat(szStatusText, szTempText);
166  }
167 
169 }
DWORD dwOptions
Definition: solitaire.cpp:24
TCHAR szTime[64]
Definition: solitaire.cpp:19
long lScore
Definition: solitaire.cpp:30
#define ZeroMemory
Definition: winbase.h:1664
CHAR * LPTSTR
Definition: xmlstorage.h:192
int GetScoreMode(void)
Definition: solitaire.cpp:129
#define SCORE_NONE
Definition: solitaire.h:44
HWND hwndStatus
Definition: solitaire.cpp:13
LONG_PTR LPARAM
Definition: windef.h:208
DWORD dwTime
Definition: solitaire.cpp:26
char TCHAR
Definition: xmlstorage.h:189
#define _T(x)
Definition: vfdio.h:22
#define SB_SETTEXT
Definition: commctrl.h:1949
#define _stprintf
Definition: utility.h:124
TCHAR szScore[64]
Definition: solitaire.cpp:18
#define SendMessage
Definition: winuser.h:5818
_TCHAR * _tcscat(_TCHAR *s, const _TCHAR *append)
Definition: tcscat.h:8
#define OPTION_SHOW_TIME
Definition: solitaire.h:12
#define SBT_NOBORDERS
Definition: commctrl.h:1971

Referenced by _tWinMain(), InitInstance(), OnExitMenuLoop(), OptionsDlgProc(), and WndProc().

Variable Documentation

◆ hAccel

◆ hFont

HFONT hFont

Definition at line 53 of file main.c.

Referenced by InitInstance().

◆ hFrameWnd

◆ hInst

HINSTANCE hInst

Definition at line 13 of file dxdiag.c.

◆ hMDIClient

HWND hMDIClient

◆ hMenuFrame

◆ hStatusBar

HWND hStatusBar

Definition at line 35 of file main.cpp.

Referenced by _tWinMain(), InitInstance(), and UpdateStatusBar().

◆ hToolBar

◆ szChildClass

TCHAR szChildClass[]

Definition at line 40 of file main.c.

Referenced by FrameWndProc(), InitChildWindow(), InitInstance(), WinMain(), and wWinMain().

◆ szFrameClass

TCHAR szFrameClass[]

Definition at line 39 of file main.c.

Referenced by InitInstance(), WinMain(), and wWinMain().

◆ szTitle