ReactOS 0.4.15-dev-8241-g63935f8
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 150 of file solitaire.cpp.

151{
152 TCHAR szStatusText[128];
153 TCHAR szTempText[64];
154
155 ZeroMemory(szStatusText, sizeof(szStatusText));
156
157 if (GetScoreMode() != SCORE_NONE)
158 {
159 _stprintf(szStatusText, szScore, lScore);
160 _tcscat(szStatusText, _T(" "));
161 }
162
164 {
165 _stprintf(szTempText, szTime, dwTime);
166 _tcscat(szStatusText, szTempText);
167 }
168
170}
#define _tcscat
Definition: tchar.h:622
#define _stprintf
Definition: utility.h:124
#define SBT_NOBORDERS
Definition: commctrl.h:1971
#define SB_SETTEXT
Definition: commctrl.h:1949
HWND hwndStatus
Definition: solitaire.cpp:14
DWORD dwOptions
Definition: solitaire.cpp:25
TCHAR szScore[64]
Definition: solitaire.cpp:19
DWORD dwTime
Definition: solitaire.cpp:27
TCHAR szTime[64]
Definition: solitaire.cpp:20
int GetScoreMode(void)
Definition: solitaire.cpp:130
long lScore
Definition: solitaire.cpp:31
#define SCORE_NONE
Definition: solitaire.h:44
#define OPTION_SHOW_TIME
Definition: solitaire.h:12
#define _T(x)
Definition: vfdio.h:22
#define ZeroMemory
Definition: winbase.h:1712
LONG_PTR LPARAM
Definition: windef.h:208
#define SendMessage
Definition: winuser.h:5852
char TCHAR
Definition: xmlstorage.h:189
CHAR * LPTSTR
Definition: xmlstorage.h:192

Referenced by _tWinMain(), DeckClickProc(), InitInstance(), LrgCellWndProc(), NewGame(), OnExitMenuLoop(), OnVScroll(), OptionsDlgProc(), RowStackClickProc(), RowStackDropProc(), SetCaretXY(), SuitStackAddProc(), SuitStackDropProc(), Undo(), and WndProc().

Variable Documentation

◆ hAccel

◆ hFont

HFONT hFont
extern

Definition at line 53 of file main.c.

◆ hFrameWnd

◆ hInst

HINSTANCE hInst
extern

Definition at line 13 of file dxdiag.c.

◆ hMDIClient

HWND hMDIClient
extern

◆ hMenuFrame

◆ hStatusBar

◆ hToolBar

◆ szChildClass

TCHAR szChildClass[]
extern

Definition at line 45 of file main.c.

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

◆ szFrameClass

TCHAR szFrameClass[]
extern

Definition at line 44 of file main.c.

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

◆ szTitle