reactos/modules/rostests/win32/user32/biditext/biditext.h
Baruch Rutman 1fc041c91a
[BIDITEXT] Add more demo code. (#842)
Add code that demonstrates the use of the lpOrder and lpCaretPos struct members of GCP_RESULTS w/ and  w/o GCP_REORDER flag.
Changed demo string literals to arrays containing character unicode values.
2018-09-09 18:03:48 +02:00

36 lines
958 B
C

#pragma once
#include <windows.h>
#include <commctrl.h>
#include <strsafe.h>
/* Global instance handle */
extern HINSTANCE g_hInstance;
/* Window procedure for our main window */
LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
/* Register a class for our main window */
BOOL RegisterMainWindowClass(void);
/* Create an instance of our main window */
HWND CreateMainWindow(void);
/* Dialog procedure for our "about" dialog */
INT_PTR CALLBACK AboutDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* Show our "about" dialog */
void ShowAboutDialog(HWND owner);
#define IDI_APPICON 101
#define IDR_MAINMENU 102
#define IDR_ACCELERATOR 103
#define IDD_ABOUTDIALOG 104
#define ID_FILE_EXIT 40001
#define ID_HELP_ABOUT 40002
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif