1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-09-08 09:10:14 +02:00

TTextBoxMessage v1, ready.

TTextBox v1.
This commit is contained in:
oz 2020-12-03 17:47:36 +03:00
parent 9ffab95d8e
commit fe66d33768
22 changed files with 419 additions and 57 deletions

View file

@ -6,6 +6,7 @@
#include "midi.h"
#include "pinball.h"
#include "Sound.h"
#include "winmain.h"
LPCSTR options::OptionsRegPath;
LPSTR options::OptionsRegPathCur;
@ -68,7 +69,7 @@ void options::init(HMENU menuHandle)
if (MenuHandle)
{
DeleteMenu(MenuHandle, 0x195u, 0);
DrawMenuBar(pinball::hwnd_frame);
DrawMenuBar(winmain::hwnd_frame);
}
}
memory::free(tmpBuf);
@ -240,7 +241,7 @@ void options::toggle(UINT uIDCheckItem)
void options::keyboard()
{
DialogBoxParamA(pinball::hinst, "KEYMAPPER", pinball::hwnd_frame, KeyMapDlgProc, 0);
DialogBoxParamA(winmain::hinst, "KEYMAPPER", winmain::hwnd_frame, KeyMapDlgProc, 0);
}
INT_PTR _stdcall options::KeyMapDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)