Searched refs:hwnd (Results 1 - 25 of 66) sorted by relevance

123

/xsrc/external/mit/xorg-server.old/dist/hw/xwin/xlaunch/window/
H A Dwindow.cc66 CWindow::CWindow(const char *_title) : title(_title), hwnd(NULL), parent(NULL), bounds(), owndproc(NULL), showing(FALSE)
95 if (hwnd != NULL)
97 hwnd = CreateWindowHandle();
98 if (hwnd == NULL)
106 SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)this);
112 owndproc = (WNDPROC)SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR)WindowProc);
123 LRESULT CALLBACK CWindow::WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) argument
125 MessageDebug::debug(hwnd, uMsg, wParam, lParam, __FUNCTION__);
126 CWindow* window = (CWindow*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
128 return window->Dispatch(hwnd, uMs
132 Dispatch(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) argument
[all...]
H A Dutil.cc50 void MessageDebug::debug(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, const char *prefix) argument
69 printf("%s: %08x %04x WM_NOTIFY (%s)\n", prefix, hwnd, wParam, psn_notify[psn_index]);
71 printf("%s: %08x %04x WM_NOTIFY (%s)\n", prefix, hwnd, wParam, notify_names[pnmh->code]);
73 printf("%s: %08x %04x WM_NOTIFY (%u)\n", prefix, hwnd, wParam, pnmh->code);
77 printf("%s: %08x %04x %08x WM_USER + %d\n", prefix, hwnd, wParam, lParam, uMsg - WM_USER);
79 printf("%s: %08x %04x %08x %d\n", prefix, hwnd, wParam, lParam, uMsg);
81 printf("%s: %08x %04x %08x %s\n", prefix, hwnd, wParam, lParam, message_names[uMsg]);
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/glx/
H A Dwinpriv.c31 HWND hwnd = NULL; local in function:winGetWindowInfo
39 hwnd = pWinScreen->hwndScreen;
51 return hwnd;
63 hwnd = pWinPriv->hWnd;
66 return hwnd;
78 return hwnd;
84 hwnd = pRLWinPriv->hWnd;
86 return hwnd;
/xsrc/external/mit/libepoxy/dist/test/
H A Dwgl_common.c68 window_proc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) argument
70 HDC hdc = GetDC(hwnd);
77 ReleaseDC(hwnd, hdc);
81 return DefWindowProc(hwnd, message, wparam, lparam);
92 HWND hwnd; local in function:make_window_and_test
116 hwnd = CreateWindow(class_name, window_name,
121 ShowWindow(hwnd, SW_SHOWDEFAULT);
122 UpdateWindow(hwnd);
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/
H A Dwinclipboardinit.c96 HWND hwnd; local in function:winClipboardCreateMessagingWindow
114 hwnd = CreateWindowExA (0, /* Extended styles */
126 assert (hwnd != NULL);
129 ShowWindow (hwnd, SW_HIDE);
132 UpdateWindow (hwnd);
134 return hwnd;
H A Dwinclipboardwndproc.c67 winProcessXEventsTimeout (HWND hwnd, int iWindow, Display *pDisplay,
76 winProcessXEventsTimeout (HWND hwnd, int iWindow, Display *pDisplay, argument
125 iReturn = winClipboardFlushXEvents (hwnd,
153 winClipboardWindowProc (HWND hwnd, UINT message, argument
167 ChangeClipboardChain (hwnd, s_hwndNextViewer);
183 if (first == hwnd) return 0; /* Make sure it's not us! */
185 next = SetClipboardViewer (hwnd);
204 if (s_hwndNextViewer == hwnd)
239 if (first == hwnd) return 0; /* Make sure it's not us! */
241 "of chain\n", hwnd, s_hwndNextViewe
610 winClipboardFlushWindowsMessageQueue(HWND hwnd) argument
[all...]
H A Dwinmisc.c108 winPaintBackground (HWND hwnd, COLORREF colorref) argument
115 hdc = GetDC (hwnd);
131 if (GetClientRect (hwnd, &rect) == FALSE)
148 ReleaseDC (hwnd, hdc);
H A Dwinwndproc.c60 winWindowProc (HWND hwnd, UINT message, argument
75 winDebugWin32Message("winWindowProc", hwnd, message, wParam, lParam);
86 if ((s_pScreenPriv == NULL || hwnd != s_hwndLastPrivates)
87 && (s_pScreenPriv = GetProp (hwnd, WIN_SCR_PROP)) != NULL)
94 s_hwndLastPrivates = hwnd;
108 return winHandleIconMessage (hwnd, message, wParam, lParam,
129 s_hwndLastPrivates = hwnd;
131 SetProp (hwnd, WIN_SCR_PROP, s_pScreenPriv);
139 * We go ahead and copy our hwnd parameter over top of the screen
145 s_pScreenPriv->hwndScreen = hwnd;
[all...]
H A Dwinmultiwindowwndproc.c197 ValidateSizing (HWND hwnd, WindowPtr pWin, argument
227 GetClientRect(hwnd, &rcClient);
228 GetWindowRect(hwnd, &rcWindow);
306 winTopLevelWindowProc (HWND hwnd, UINT message, argument
326 winDebugWin32Message("winTopLevelWindowProc", hwnd, message, wParam, lParam);
330 if ((pWin = GetProp (hwnd, WIN_WINDOW_PROP)) != NULL)
350 wmMsg.hwndWindow = hwnd;
351 wmMsg.iWindow = (Window)GetProp (hwnd, WIN_WID_PROP);
365 ErrorF ("hWnd %08X\n", hwnd);
393 SetProp (hwnd,
[all...]
H A Dwinclipboard.h133 winClipboardFlushWindowsMessageQueue (HWND hwnd);
136 winClipboardWindowProc (HWND hwnd, UINT message,
145 winClipboardFlushXEvents (HWND hwnd,
H A Dwintrayicon.c112 winHandleIconMessage (HWND hwnd, UINT message, argument
124 SetForegroundWindow (hwnd);
195 SetForegroundWindow (hwnd);
199 hwnd,
201 PostMessage (hwnd, WM_NULL, 0, 0);
/xsrc/external/mit/xorg-server/dist/hw/xwin/glx/
H A Dwinpriv.c32 HWND hwnd = NULL; local in function:winGetWindowInfo
39 hwnd = pWinScreen->hwndScreen;
48 return hwnd;
58 hwnd = pWinPriv->hWnd;
60 /* mark GLX active on that hwnd */
64 return hwnd;
/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dwin32_winproc.c50 __glutWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) argument
78 window = __glutGetWindow(hwnd);
88 window = __glutGetWindow(hwnd);
90 BeginPaint(hwnd, &ps); /* Must have this for some Win32 reason. */
91 EndPaint(hwnd, &ps);
92 if (window->win == hwnd) {
94 } else if (window->overlay && window->overlay->win == hwnd) {
102 window = __glutGetWindow(hwnd);
111 ScreenToClient(hwnd, &point);
112 hwnd
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A Dwinmultiwindowwndproc.c197 ValidateSizing(HWND hwnd, WindowPtr pWin, WPARAM wParam, LPARAM lParam) argument
227 GetClientRect(hwnd, &rcClient);
228 GetWindowRect(hwnd, &rcWindow);
415 winTopLevelWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) argument
434 winDebugWin32Message("winTopLevelWindowProc", hwnd, message, wParam,
443 SetProp(hwnd,
446 SetProp(hwnd,
453 if ((pWin = GetProp(hwnd, WIN_WINDOW_PROP)) != NULL) {
472 wmMsg.hwndWindow = hwnd;
473 wmMsg.iWindow = (Window) (INT_PTR) GetProp(hwnd, WIN_WID_PRO
[all...]
H A Dwinwndproc.c60 winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) argument
73 winDebugWin32Message("winWindowProc", hwnd, message, wParam, lParam);
83 if ((s_pScreenPriv == NULL || hwnd != s_hwndLastPrivates)
84 && (s_pScreenPriv = GetProp(hwnd, WIN_SCR_PROP)) != NULL) {
90 s_hwndLastPrivates = hwnd;
102 return winHandleIconMessage(hwnd, message, wParam, lParam,
122 s_hwndLastPrivates = hwnd;
124 SetProp(hwnd, WIN_SCR_PROP, s_pScreenPriv);
131 * We go ahead and copy our hwnd parameter over top of the screen
137 s_pScreenPriv->hwndScreen = hwnd;
[all...]
H A Dwinmsgwindow.c42 winMsgWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) argument
45 winDebugWin32Message("winMsgWindowProc", hwnd, message, wParam, lParam);
92 return DefWindowProc(hwnd, message, wParam, lParam);
138 winDebug("winCreateMsgWindow - Created msg window hwnd 0x%p\n", hwndMsg);
157 winDebugWin32Message("winMsgWindowThread", msg.hwnd, msg.message,
H A Dwinkeyhook.c62 HWND hwnd = GetActiveWindow(); local in function:winKeyboardMessageHookLL
70 if ((pWin = GetProp(hwnd, WIN_WINDOW_PROP)) != NULL) {
118 PostMessage(hwnd, (UINT) wParam, (WPARAM) p->vkCode, lParamKey);
H A Dwinprefs.h159 SetupSysMenu(HWND hwnd);
162 HandleCustomWM_INITMENU(HWND hwnd, HMENU hmenu);
165 HandleCustomWM_COMMAND(HWND hwnd, WORD command, winPrivScreenPtr pScreenPriv);
H A Dwinmsg.c122 winDebugWin32Message(const char *function, HWND hwnd, UINT message, argument
132 winDebug("\thwnd 0x%p wParam 0x%x lParam 0x%x\n", hwnd, (int)wParam,
144 winDebug("\thwnd 0x%p wParam 0x%x lParam 0x%x\n", hwnd, (int)wParam,
151 winDebugWin32Message(const char *function, HWND hwnd, UINT message, argument
H A Dwinmsg.h65 void winDebugWin32Message(const char *function, HWND hwnd, UINT message,
/xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/
H A Dinternal.h85 BOOL winClipboardFlushWindowsMessageQueue(HWND hwnd);
88 winClipboardWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
109 winClipboardFlushXEvents(HWND hwnd,
H A Dthread.c111 HWND hwnd = NULL; local in function:winClipboardProc
224 hwnd = winClipboardCreateMessagingWindow(conn, iWindow, &atoms);
227 g_hwndClipboard = hwnd;
255 winClipboardFlushXEvents(hwnd, iWindow, conn, &data, &atoms);
258 if (!winClipboardFlushWindowsMessageQueue(hwnd)) {
387 HWND hwnd; local in function:winClipboardCreateMessagingWindow
410 hwnd = CreateWindowExA(0, /* Extended styles */
422 assert(hwnd != NULL);
425 ShowWindow(hwnd, SW_HIDE);
428 UpdateWindow(hwnd);
[all...]
H A Dwndproc.c60 winProcessXEventsTimeout(HWND hwnd, xcb_window_t iWindow, xcb_connection_t *conn, argument
79 iReturn = winClipboardFlushXEvents(hwnd, iWindow, conn, data, atoms);
129 winClipboardWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) argument
143 RemoveClipboardFormatListener(hwnd);
166 AddClipboardFormatListener(hwnd);
186 if (hwnd == GetClipboardOwner()) {
337 iReturn = winProcessXEventsTimeout(hwnd,
398 iReturn = winProcessXEventsTimeout(hwnd,
436 return DefWindowProc(hwnd, message, wParam, lParam);
444 winClipboardFlushWindowsMessageQueue(HWND hwnd) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/glx/windows/
H A Dwindowsgl.c96 HWND hwnd = CreateWindowExA(0, local in function:windows_create_context
102 HDC hdc = GetDC(hwnd);
113 ReleaseDC(hwnd, hdc);
114 DestroyWindow(hwnd);
157 HWND hwnd = CreateWindowExA(0, local in function:windows_create_context_attribs
163 HDC hdc = GetDC(hwnd);
174 ReleaseDC(hwnd, hdc);
175 DestroyWindow(hwnd);
311 HWND hwnd = CreateWindowExA(0, local in function:windows_call_with_context
316 if (hwnd) {
[all...]
/xsrc/external/mit/MesaLib/dist/src/glx/windows/
H A Dwindowsgl.c96 HWND hwnd = CreateWindowExA(0, local in function:windows_create_context
102 HDC hdc = GetDC(hwnd);
113 ReleaseDC(hwnd, hdc);
114 DestroyWindow(hwnd);
157 HWND hwnd = CreateWindowExA(0, local in function:windows_create_context_attribs
163 HDC hdc = GetDC(hwnd);
174 ReleaseDC(hwnd, hdc);
175 DestroyWindow(hwnd);
311 HWND hwnd = CreateWindowExA(0, local in function:windows_call_with_context
316 if (hwnd) {
[all...]

Completed in 12 milliseconds

123