ReactOS  0.4.13-dev-563-g0561610
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 148 of file solitaire.cpp.

149 {
150  TCHAR szStatusText[128];
151  TCHAR szTempText[64];
152 
153  ZeroMemory(szStatusText, sizeof(szStatusText));
154 
155  if (GetScoreMode() != SCORE_NONE)
156  {
157  _stprintf(szStatusText, szScore, lScore);
158  _tcscat(szStatusText, _T(" "));
159  }
160 
162  {
163  _stprintf(szTempText, szTime, dwTime);
164  _tcscat(szStatusText, szTempText);
165  }
166 
168 }
DWORD dwOptions
Definition: solitaire.cpp:23
TCHAR szTime[64]
Definition: solitaire.cpp:18
long lScore
Definition: solitaire.cpp:29
#define ZeroMemory
Definition: winbase.h:1635
CHAR * LPTSTR
Definition: xmlstorage.h:192
int GetScoreMode(void)
Definition: solitaire.cpp:128
#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:25
char TCHAR
Definition: xmlstorage.h:189
#define _T(x)
Definition: vfdio.h:22
#define SB_SETTEXT
Definition: commctrl.h:1921
#define _stprintf
Definition: utility.h:124
TCHAR szScore[64]
Definition: solitaire.cpp:17
#define SendMessage
Definition: winuser.h:5709
_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:1943

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