16#define CONTROLCLASS "COMBOBOX"
17#define CONTROLCLASSW L"COMBOBOX"
19#define WINDOWWIDTH 560
20#define WINDOWHEIGHT 350
23#define CREATEWINDOW_ID 106
24#define CREATEWINDOWEX_ID 107
25#define CREATEWINDOWW_ID 108
26#define INITPAGE_ID 400
27#define SECONDPAGE_ID 401
28#define BACKFIRSTPAGE_ID 402
39#define CHECKBUTWIDTH 190
40#define SCROLLAMOUNT -15
58#define CONTROLPOSX 390
233#define MAXMESSAGEBUTTONS 40
264#define NUMBERCHECKS 17
266#define NUMBERBUTTONS NUMBERCHECKS + 7
379 for (
i = 0 ;
i < 14 ;
i++)
404 for (
i = 0 ;
i < 14 ;
i++)
621 const char* className,
676 char className [] =
"ComboBox Control Test";
686 return (
int)
msg.wParam;
#define UlongToHandle(ul)
void PrintTextXY(char *Text, int x, int y, int len, RECT rect)
#define MAXMESSAGEBUTTONS
HWND CreatePushButton(const char *lpWindowName, DWORD xSize, DWORD id, DWORD Style)
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]
HWND Buttons[NUMBERBUTTONS]
#define CREATEWINDOWEX_ID
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
VOID htoa(unsigned int val, char *buf)
#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
#define CBS_OWNERDRAWFIXED
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
#define CB_GETHORIZONTALEXTENT
#define CB_SETDROPPEDWIDTH
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define CBS_NOINTEGRALHEIGHT
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
#define CB_SETHORIZONTALEXTENT
#define CBS_OWNERDRAWVARIABLE
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI ValidateRect(_In_opt_ HWND, _In_opt_ LPCRECT)
#define CBS_DISABLENOSCROLL
#define CB_FINDSTRINGEXACT
#define CB_GETDROPPEDWIDTH
#define CB_GETDROPPEDCONTROLRECT
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)
#define CB_GETDROPPEDSTATE
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI ScrollWindow(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT)