15#define CREATEWINDOW 106
16#define CREATEWINDOWEX 107
17#define CREATEWINDOWW 108
28#define TestStr "The quick brown fox jumps over the lazy dog"
30#define TestStrW L"This is a WCHAR string"
32#define MAXMESSAGEBUTTONS 42
54#define ReplaceTextStr "->> Replaced!! <<-"
57char*
NewText =
"New text for the edit control";
58wchar_t*
NewTextW =
L"New text for the edit control in UNICODE";
254 "WS_THICKFRAME",
"WS_DISABLED",
"WS_BORDER",
"ES_LOWERCASE",
"ES_UPPERCASE",
"ES_NUMBER",
"ES_AUTOVSCROLL",
255 "ES_AUTOHSCROLL",
"ES_LEFT",
"ES_CENTER",
"ES_RIGHT",
"ES_MULTILINE",
256 "ES_NOHIDESEL",
"ES_OEMCONVERT",
"ES_PASSWORD",
"ES_READONLY",
"ES_WANTRETURN",
257 "WS_HSCROLL",
"WS_VSCROLL"
260#define NUMBERBUTTONS 26
314 for (
i=0 ;
i< 19 ;
i++)
374 for (
i = 0 ;
i < 14 ;
i++)
399 for (
i = 0 ;
i < 14 ;
i++)
581 const char* className,
636 char className [] =
"Edit Control Test";
#define UlongToHandle(ul)
FunctionHandler * LPFUNCTIONHANDLER
#define MAXMESSAGEBUTTONS
HWND CreatePushButton(const char *lpWindowName, DWORD xSize, DWORD id, DWORD Style)
static VOID HandleSetHandlePrintHex(HWND handle, DWORD Msg, WPARAM wParam, LPARAM lParam)
static VOID HandlePrintRect(HWND handle, DWORD Msg, WPARAM wParam, LPARAM lParam)
LPFUNCTIONHANDLER Handler
static VOID HandlePrintReturnStr(HWND handle, DWORD Msg, WPARAM wParam, LPARAM lParam)
char TextBuffer[BUFFERLEN]
LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
HWND MessageButtons[MAXMESSAGEBUTTONS]
static VOID HandlePrintPasswdChar(HWND handle, DWORD Msg, WPARAM wParam, LPARAM lParam)
HWND Buttons[NUMBERBUTTONS]
VOID PrintTextXY(char *Text, int x, int y, int len)
FunctionHandler * LPFUNCTIONHANDLER
HWND CreateCheckButton(const char *lpWindowName, DWORD xSize, DWORD id)
void FunctionHandler(HWND, DWORD, WPARAM, LPARAM)
HWND RegisterAndCreateWindow(HINSTANCE hInst, const char *className, const char *title)
VOID ForwardToSecondPage()
static VOID HandlePrintReturnHex(HWND handle, DWORD Msg, WPARAM wParam, LPARAM lParam)
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdParam, int cmdShow)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLfloat GLfloat GLfloat GLfloat h
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
LPVOID NTAPI LocalLock(HLOCAL hMem)
BOOL NTAPI LocalUnlock(HLOCAL hMem)
HLOCAL NTAPI LocalHandle(LPCVOID pMem)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
VOID htoa(unsigned int val, char *buf)
VOID strcpy_(char *dst, const char *src)
VOID strcpyw_(wchar_t *dst, wchar_t *src)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
HGDIOBJ WINAPI GetStockObject(_In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
#define SYSTEM_FIXED_FONT
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
#define EM_GETWORDBREAKPROC
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define EM_GETPASSWORDCHAR
#define EM_SETPASSWORDCHAR
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
#define EM_EMPTYUNDOBUFFER
BOOL WINAPI ValidateRect(_In_opt_ HWND, _In_opt_ LPCRECT)
#define EM_GETFIRSTVISIBLELINE
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
#define WM_QUERYENDSESSION
BOOL WINAPI UpdateWindow(_In_ HWND)
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI DestroyWindow(_In_ HWND)