Windows Me and Windows XP.

This commit is contained in:
nethack.allison
2002-01-25 01:54:44 +00:00
parent f1c50c30ec
commit 7406ad3855
5 changed files with 27 additions and 18 deletions

View File

@@ -7,11 +7,13 @@
#include "mhmsg.h"
#include "mhfont.h"
PNHWinApp GetNHApp(void);
typedef struct mswin_nethack_text_window {
TCHAR* window_text;
} NHTextWindow, *PNHTextWindow;
LRESULT CALLBACK TextWndProc(HWND, UINT, WPARAM, LPARAM);
BOOL CALLBACK TextWndProc(HWND, UINT, WPARAM, LPARAM);
static void onMSNHCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
static void LayoutText(HWND hwnd);
@@ -71,7 +73,7 @@ void mswin_display_text_window (HWND hWnd)
GetNHApp()->hMenuWnd = NULL;
}
LRESULT CALLBACK TextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
BOOL CALLBACK TextWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
HWND control;
HDC hdc;