#include <windows.h>
#include <stdio.h>
Go to the source code of this file.
◆ MultiWndProc()
Definition at line 91 of file multiwin.c.
92{
99 {
100 RGB(0x00, 0x00, 0x00),
101 RGB(0x80, 0x00, 0x00),
102 RGB(0x00, 0x80, 0x00),
103 RGB(0x00, 0x00, 0x80),
104 RGB(0x80, 0x80, 0x00),
105 RGB(0x80, 0x00, 0x80),
106 RGB(0x00, 0x80, 0x80),
107 RGB(0x80, 0x80, 0x80),
108 RGB(0xff, 0x00, 0x00),
109 RGB(0x00, 0xff, 0x00),
110 RGB(0x00, 0x00, 0xff),
111 RGB(0xff, 0xff, 0x00),
112 RGB(0xff, 0x00, 0xff),
113 RGB(0x00, 0xff, 0xff),
114 RGB(0xff, 0xff, 0xff)
115 };
117
119 {
128 {
130 }
132 break;
133
137 {
139 }
140 break;
141
142 default:
144 }
145
146 return 0;
147}
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
Referenced by WinMain().
◆ WinMain()
Definition at line 8 of file multiwin.c.
12{
18
30 {
33 return(1);
34 }
35
37 "TopLevel1",
39 0,
40 0,
41 320,
42 240,
47
49 "Child1 of TopLevel1",
51 20,
52 120,
53 200,
54 200,
59
61 "TopLevel2",
63 400,
64 0,
65 160,
66 490,
71
73 {
76 return(1);
77 }
79
82
84 {
87 }
89}
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
LRESULT WINAPI MultiWndProc(HWND, UINT, WPARAM, LPARAM)
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI GetLastError(void)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
◆ WindowCount