-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtextbox.h
More file actions
33 lines (27 loc) · 762 Bytes
/
Copy pathtextbox.h
File metadata and controls
33 lines (27 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef NICO_TEXTBOX_INC
#define NICO_TEXTBOX_INC NICO_TEXTBOX_INC
#define WIN32_LEANANDMEAN
#include <windows.h>
/*
The following MB_styles are supported:
MB_ABORTRETRYIGNORE
MB_OK
MB_OKCANCEL
MB_RETRYCANCEL
MB_YESNO
MB_YESNOCANCEL
MB_DEFBUTTON1
MB_DEFBUTTON2
MB_DEFBUTTON3
MB_DEFBUTTON4 <- even if there are only 3button msgboxs...
MB_TOPMOST
That is, the most important flags are there (only the icons are missing)
*/
/*
this additional flag specifies that the edit control should
use a fixed width font, as opposed to the default variable width font
*/
#define TB_USEFIXEDFONT 0x01000000L
/* use like MessageBox(), see its documentation */
int TextBox(HWND parent, const char* text, const char* caption, UINT type);
#endif /* NICO_TEXTBOX_INC */