mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-20 23:37:41 +00:00
Scratching an itch. It's very painful to debug Keyman Core on Windows. This helps a little. It allows you to step through the code without loading keyman32.dll into every process. It's not perfect, because when actions are sent, they tend to land in the debugger because SendInput does not care about the active window! However, if you don't care about that too much (or if you are willing to try a remote debug setup), then this should really simplify debugging.
149 lines
6.7 KiB
Text
149 lines
6.7 KiB
Text
//Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE resource.
|
|
//
|
|
#ifndef APSTUDIO_INVOKED
|
|
#include "targetver.h"
|
|
#endif
|
|
#define APSTUDIO_HIDDEN_SYMBOLS
|
|
#include "windows.h"
|
|
#undef APSTUDIO_HIDDEN_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
LANGUAGE 9, 1
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
|
|
IDI_TESTHOST ICON "testhost.ico"
|
|
IDI_SMALL ICON "small.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDC_TESTHOST MENU
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About ...", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Accelerator
|
|
//
|
|
|
|
IDC_TESTHOST ACCELERATORS
|
|
BEGIN
|
|
"?", IDM_ABOUT, ASCII, ALT
|
|
"/", IDM_ABOUT, ASCII, ALT
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About testhost"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
|
|
LTEXT "testhost, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
|
|
LTEXT "Copyright (c) 2022",IDC_STATIC,42,26,114,8
|
|
DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP
|
|
END
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_ABOUTBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 163
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 55
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#ifndef APSTUDIO_INVOKED\r\n"
|
|
"#include ""targetver.h""\r\n"
|
|
"#endif\r\n"
|
|
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"#include ""windows.h""\r\n"
|
|
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDC_TESTHOST "TESTHOST"
|
|
IDS_APP_TITLE "testhost"
|
|
END
|
|
|
|
#endif
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE resource.
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|