Home
last modified time | relevance | path

Searched refs:hWnd (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/npapi/npspy/windows/
Dgui_log.cpp47 static void onChooseDir(HWND hWnd) in onChooseDir() argument
49 Logger * logger = (Logger *)GetWindowLong(hWnd, DWL_USER); in onChooseDir()
56 GetDlgItemText(hWnd, IDC_EDIT_FILE, string, strlen(string)); in onChooseDir()
65 if(PickupDirectory(hWnd, string)) in onChooseDir()
78 SetDlgItemText(hWnd, IDC_EDIT_FILE, string); in onChooseDir()
82 static void onCommand(HWND hWnd, int id, HWND hWndCtl, UINT codeNotify) in onCommand() argument
87 …EnableWindow(GetDlgItem(hWnd, IDC_EDIT_FILE), (BST_CHECKED == IsDlgButtonChecked(hWnd, IDC_CHECK_T… in onCommand()
88 …EnableWindow(GetDlgItem(hWnd, IDC_BUTTON_CHOOSEDIR), (BST_CHECKED == IsDlgButtonChecked(hWnd, IDC_… in onCommand()
91 onChooseDir(hWnd); in onCommand()
98 static void onApply(HWND hWnd) in onApply() argument
[all …]
Dgui_fiter.cpp46 static void onCommand(HWND hWnd, int id, HWND hWndCtl, UINT codeNotify) in onCommand() argument
53 CheckDlgButton(hWnd, i, BST_CHECKED); in onCommand()
59 CheckDlgButton(hWnd, i, BST_UNCHECKED); in onCommand()
67 static void onApply(HWND hWnd) in onApply() argument
69 Logger * logger = (Logger *)GetWindowLong(hWnd, DWL_USER); in onApply()
79 mutedcalls[i - IDC_CHECK_NPN_VERSION + 1] = (BST_UNCHECKED == IsDlgButtonChecked(hWnd, i)); in onApply()
85 static void onNotify(HWND hWnd, int idCtrl, LPNMHDR lpNMHdr) in onNotify() argument
92 onApply(hWnd); in onNotify()
97 static BOOL onInitDialog(HWND hWnd, HWND hWndFocus, LPARAM lParam) in onInitDialog() argument
104 SetWindowLong(hWnd, DWL_USER, (long)logger); in onInitDialog()
[all …]
Dgui_main.cpp54 static void onOptions(HWND hWnd, Logger * logger) in onOptions() argument
104 psh.hwndParent = hWnd; in onOptions()
123 if(hWnd != NULL) in onOptions()
126 if(GetWindowRect(hWnd, &rc)) in onOptions()
140 … SetWindowPos(hWnd, logger->bOnTop ? HWND_TOPMOST : HWND_NOTOPMOST, 0,0,0,0,SWP_NOMOVE|SWP_NOSIZE); in onOptions()
146 static void onCommand(HWND hWnd, int id, HWND hWndCtl, UINT codeNotify) in onCommand() argument
148 LoggerWin * logger = (LoggerWin *)GetWindowLong(hWnd, DWL_USER); in onCommand()
153 logger->bMutedAll = (BST_CHECKED == IsDlgButtonChecked(hWnd, IDC_CHECK_MUTE)); in onCommand()
156 onOptions(hWnd, logger); in onCommand()
167 static BOOL onInitDialog(HWND hWnd, HWND hWndFocus, LPARAM lParam) in onInitDialog() argument
[all …]
Dgui_general.cpp46 static void onApply(HWND hWnd) in onApply() argument
48 Logger * logger = (Logger *)GetWindowLong(hWnd, DWL_USER); in onApply()
52 logger->bOnTop = (BST_CHECKED == IsDlgButtonChecked(hWnd, IDC_CHECK_ONTOP)); in onApply()
56 static void onNotify(HWND hWnd, int idCtrl, LPNMHDR lpNMHdr) in onNotify() argument
63 onApply(hWnd); in onNotify()
68 static BOOL onInitDialog(HWND hWnd, HWND hWndFocus, LPARAM lParam) in onInitDialog() argument
75 SetWindowLong(hWnd, DWL_USER, (long)logger); in onInitDialog()
80 CheckDlgButton(hWnd, IDC_CHECK_ONTOP, logger->bOnTop ? BST_CHECKED : BST_UNCHECKED); in onInitDialog()
86 BOOL CALLBACK GeneralPageProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in GeneralPageProc() argument
91 return (BOOL)HANDLE_WM_INITDIALOG(hWnd, wParam, lParam, onInitDialog); in GeneralPageProc()
[all …]
Dgui_advanced.cpp46 static void onApply(HWND hWnd) in onApply() argument
48 Logger * logger = (Logger *)GetWindowLong(hWnd, DWL_USER); in onApply()
52 logger->bSPALID = (BST_CHECKED == IsDlgButtonChecked(hWnd, IDC_CHECK_SPALID)); in onApply()
56 static void onNotify(HWND hWnd, int idCtrl, LPNMHDR lpNMHdr) in onNotify() argument
63 onApply(hWnd); in onNotify()
68 static BOOL onInitDialog(HWND hWnd, HWND hWndFocus, LPARAM lParam) in onInitDialog() argument
75 SetWindowLong(hWnd, DWL_USER, (long)logger); in onInitDialog()
80 CheckDlgButton(hWnd, IDC_CHECK_SPALID, logger->bSPALID ? BST_CHECKED : BST_UNCHECKED); in onInitDialog()
86 BOOL CALLBACK AdvancedPageProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in AdvancedPageProc() argument
91 return (BOOL)HANDLE_WM_INITDIALOG(hWnd, wParam, lParam, onInitDialog); in AdvancedPageProc()
[all …]
Dgui_pause.cpp43 static void onCommand(HWND hWnd, int id, HWND hWndCtl, UINT codeNotify) in onCommand() argument
48 EndDialog(hWnd, IDOK); in onCommand()
51 EndDialog(hWnd, IDCANCEL); in onCommand()
58 static BOOL onInitDialog(HWND hWnd, HWND hWndFocus, LPARAM lParam) in onInitDialog() argument
60 SetWindowPos(hWnd, NULL, 0,0,0,0, SWP_NOZORDER); in onInitDialog()
64 BOOL CALLBACK PauseDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) in PauseDlgProc() argument
69 return (BOOL)HANDLE_WM_INITDIALOG(hWnd, wParam, lParam, onInitDialog); in PauseDlgProc()
71 HANDLE_WM_COMMAND(hWnd, wParam, lParam, onCommand); in PauseDlgProc()
74 EndDialog(hWnd, IDCANCEL); in PauseDlgProc()
Dloggerw.cpp49 BOOL CALLBACK MainDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
50 BOOL CALLBACK PauseDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
53 hWnd(NULL), in LoggerWin()
109hWnd = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_DIALOG_MAIN), GetDesktopWindow(), (DLGPROC)Mai… in platformInit()
110 if(hWnd == NULL) in platformInit()
117 SetWindowPos(hWnd, bOnTop ? HWND_TOPMOST : HWND_NOTOPMOST, 0,0,0,0, SWP_NOMOVE | SWP_NOSIZE); in platformInit()
124 if(hWnd != NULL) in platformShut()
127 HWND hWndOutput = GetDlgItem(hWnd, IDC_MAIN_OUTPUT); in platformShut()
134 DialogBox(hInst, MAKEINTRESOURCE(IDD_DIALOG_PAUSE), hWnd, (DLGPROC)PauseDlgProc); in platformShut()
139 if(GetWindowRect(hWnd, &rc)) in platformShut()
[all …]
Ddirpick.cpp61 static void fillComboBox(HWND hWnd) in fillComboBox() argument
63 HWND hWndCB = GetDlgItem(hWnd, ID_COMBO_DIR); in fillComboBox()
64 HWND hWndTempLB = GetDlgItem(hWnd, ID_LISTTEMP_DIR); in fillComboBox()
171 static void fillListBox(HWND hWnd, LPSTR lpszDir) in fillListBox() argument
173 HWND hWndLB = GetDlgItem(hWnd, ID_LIST_DIR); in fillListBox()
174 HWND hWndTempLB = GetDlgItem(hWnd, ID_LISTTEMP_DIR); in fillListBox()
175 HWND hWndEdit = GetDlgItem(hWnd, ID_EDIT_DIR); in fillListBox()
389 static void onInitDialog(HWND hWnd, LPSTR lpsz) in onInitDialog() argument
391 hWndDirPicker = hWnd; in onInitDialog()
414 MessageBox(GetParent(hWnd), szText, "Choose Directory", MB_ICONEXCLAMATION|MB_OK); in onInitDialog()
[all …]
/external/chromium_org/third_party/angle/samples/gles2_book/Common/Win32/
DesUtil_win32.c34 LRESULT WINAPI ESWindowProc ( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) in ESWindowProc() argument
45 ESContext *esContext = (ESContext*)(LONG_PTR) GetWindowLongPtr ( hWnd, GWL_USERDATA ); in ESWindowProc()
49 InvalidateRect( esContext->hWnd, NULL, FALSE ); in ESWindowProc()
55 ESContext *esContext = (ESContext*)(LONG_PTR) GetWindowLongPtr ( hWnd, GWL_USERDATA ); in ESWindowProc()
61 ValidateRect( esContext->hWnd, NULL ); in ESWindowProc()
72 ESContext *esContext = (ESContext*)(LONG_PTR) GetWindowLongPtr ( hWnd, GWL_USERDATA ); in ESWindowProc()
83 lRet = DefWindowProc (hWnd, uMsg, wParam, lParam); in ESWindowProc()
128 esContext->hWnd = CreateWindow( in WinCreate()
143 SetWindowLongPtr ( esContext->hWnd, GWL_USERDATA, (LONG) (LONG_PTR) esContext ); in WinCreate()
145 if ( esContext->hWnd == NULL ) in WinCreate()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-gdi/
Dgraw_gdi.c38 window_proc(HWND hWnd, in window_proc() argument
49 return DefWindowProc(hWnd, uMsg, wParam, lParam); in window_proc()
72 HWND hWnd = NULL; in graw_create_window_and_screen() local
100 hWnd = CreateWindowEx(0, in graw_create_window_and_screen()
112 if (hWnd == NULL) in graw_create_window_and_screen()
115 hDC = GetDC(hWnd); in graw_create_window_and_screen()
124 if (hWnd) in graw_create_window_and_screen()
125 DestroyWindow(hWnd); in graw_create_window_and_screen()
/external/mesa3d/src/gallium/targets/graw-gdi/
Dgraw_gdi.c38 window_proc(HWND hWnd, in window_proc() argument
49 return DefWindowProc(hWnd, uMsg, wParam, lParam); in window_proc()
72 HWND hWnd = NULL; in graw_create_window_and_screen() local
100 hWnd = CreateWindowEx(0, in graw_create_window_and_screen()
112 if (hWnd == NULL) in graw_create_window_and_screen()
115 hDC = GetDC(hWnd); in graw_create_window_and_screen()
124 if (hWnd) in graw_create_window_and_screen()
125 DestroyWindow(hWnd); in graw_create_window_and_screen()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c47 WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in WndProc() argument
63 return DefWindowProc(hWnd, uMsg, wParam, lParam); in WndProc()
82 HWND hWnd; in wglCreatePbufferARB() local
177 hWnd = CreateWindowEx(dwExStyle, in wglCreatePbufferARB()
189 if (!hWnd) { in wglCreatePbufferARB()
198 GetClientRect(hWnd, &rect); in wglCreatePbufferARB()
205 hDC = GetDC(hWnd); in wglCreatePbufferARB()
249 hDC = GetDC(fb->hWnd); in wglGetPbufferDCARB()
270 return ReleaseDC(fb->hWnd, hDC); in wglReleasePbufferDCARB()
287 return DestroyWindow(fb->hWnd); in wglDestroyPbufferARB()
Dstw_framebuffer.c56 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked()
95 ReleaseDC(fb->hWnd, fb->hDC); in stw_framebuffer_destroy_locked()
126 assert(fb->hWnd); in stw_framebuffer_get_size()
135 if (!GetClientRect(fb->hWnd, &client_rect)) { in stw_framebuffer_get_size()
162 if (ClientToScreen(fb->hWnd, &client_pos) && in stw_framebuffer_get_size()
163 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size()
173 debug_printf("%s: hwnd = %p\n", __FUNCTION__, fb->hWnd); in stw_framebuffer_get_size()
244 HWND hWnd; in stw_framebuffer_create() local
249 hWnd = WindowFromDC( hdc ); in stw_framebuffer_create()
250 if(!hWnd) in stw_framebuffer_create()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c47 WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in WndProc() argument
63 return DefWindowProc(hWnd, uMsg, wParam, lParam); in WndProc()
82 HWND hWnd; in wglCreatePbufferARB() local
177 hWnd = CreateWindowEx(dwExStyle, in wglCreatePbufferARB()
189 if (!hWnd) { in wglCreatePbufferARB()
198 GetClientRect(hWnd, &rect); in wglCreatePbufferARB()
205 hDC = GetDC(hWnd); in wglCreatePbufferARB()
249 hDC = GetDC(fb->hWnd); in wglGetPbufferDCARB()
270 return ReleaseDC(fb->hWnd, hDC); in wglReleasePbufferDCARB()
287 return DestroyWindow(fb->hWnd); in wglDestroyPbufferARB()
Dstw_framebuffer.c56 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked()
95 ReleaseDC(fb->hWnd, fb->hDC); in stw_framebuffer_destroy_locked()
126 assert(fb->hWnd); in stw_framebuffer_get_size()
135 if (!GetClientRect(fb->hWnd, &client_rect)) { in stw_framebuffer_get_size()
162 if (ClientToScreen(fb->hWnd, &client_pos) && in stw_framebuffer_get_size()
163 GetWindowRect(fb->hWnd, &window_rect)) { in stw_framebuffer_get_size()
173 debug_printf("%s: hwnd = %p\n", __FUNCTION__, fb->hWnd); in stw_framebuffer_get_size()
244 HWND hWnd; in stw_framebuffer_create() local
249 hWnd = WindowFromDC( hdc ); in stw_framebuffer_create()
250 if(!hWnd) in stw_framebuffer_create()
[all …]
/external/chromium_org/third_party/skia/src/views/win/
Dskia_win.cpp130 HWND hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, in InitInstance() local
133 if (!hWnd) in InitInstance()
151 gSkWind = create_sk_window(hWnd, argc, argv); in InitInstance()
155 ShowWindow(hWnd, nCmdShow); in InitInstance()
156 UpdateWindow(hWnd); in InitInstance()
171 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
175 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
180 if (gSkWind->wndProc(hWnd, message, wParam, lParam)) { in WndProc()
183 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
DSkOSWindow_win.cpp47 SkOSWindow::SkOSWindow(void* hWnd) { in SkOSWindow() argument
48 fHWND = hWnd; in SkOSWindow()
58 gEventTarget = (HWND)hWnd; in SkOSWindow()
110 bool SkOSWindow::wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { in wndProc() argument
141 HDC hdc = BeginPaint(hWnd, &ps); in wndProc()
143 EndPaint(hWnd, &ps); in wndProc()
149 InvalidateRect(hWnd, rect, FALSE); in wndProc()
150 KillTimer(hWnd, (UINT_PTR)rect); in wndProc()
384 bool create_ANGLE(EGLNativeWindowType hWnd, in create_ANGLE() argument
407 EGLDisplay display = eglGetDisplay(GetDC(hWnd)); in create_ANGLE()
[all …]
/external/skia/src/views/win/
Dskia_win.cpp130 HWND hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, in InitInstance() local
133 if (!hWnd) in InitInstance()
151 gSkWind = create_sk_window(hWnd, argc, argv); in InitInstance()
155 ShowWindow(hWnd, nCmdShow); in InitInstance()
156 UpdateWindow(hWnd); in InitInstance()
171 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
175 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
180 if (gSkWind->wndProc(hWnd, message, wParam, lParam)) { in WndProc()
183 return DefWindowProc(hWnd, message, wParam, lParam); in WndProc()
DSkOSWindow_win.cpp47 SkOSWindow::SkOSWindow(void* hWnd) { in SkOSWindow() argument
48 fHWND = hWnd; in SkOSWindow()
58 gEventTarget = (HWND)hWnd; in SkOSWindow()
110 bool SkOSWindow::wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { in wndProc() argument
141 HDC hdc = BeginPaint(hWnd, &ps); in wndProc()
143 EndPaint(hWnd, &ps); in wndProc()
149 InvalidateRect(hWnd, rect, FALSE); in wndProc()
150 KillTimer(hWnd, (UINT_PTR)rect); in wndProc()
384 bool create_ANGLE(EGLNativeWindowType hWnd, in create_ANGLE() argument
407 EGLDisplay display = eglGetDisplay(GetDC(hWnd)); in create_ANGLE()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c53 HWND hWnd; member
86 GetClientRect(gsurf->hWnd, &rect); in gdi_surface_update_geometry()
131 hDC = GetDC(gsurf->hWnd); in gdi_surface_flush_frontbuffer()
134 ReleaseDC(gsurf->hWnd, hDC); in gdi_surface_flush_frontbuffer()
149 hDC = GetDC(gsurf->hWnd); in gdi_surface_swap_buffers()
152 ReleaseDC(gsurf->hWnd, hDC); in gdi_surface_swap_buffers()
241 gsurf->hWnd = (HWND) win; in gdi_display_create_window_surface()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c53 HWND hWnd; member
86 GetClientRect(gsurf->hWnd, &rect); in gdi_surface_update_geometry()
131 hDC = GetDC(gsurf->hWnd); in gdi_surface_flush_frontbuffer()
134 ReleaseDC(gsurf->hWnd, hDC); in gdi_surface_flush_frontbuffer()
149 hDC = GetDC(gsurf->hWnd); in gdi_surface_swap_buffers()
152 ReleaseDC(gsurf->hWnd, hDC); in gdi_surface_swap_buffers()
241 gsurf->hWnd = (HWND) win; in gdi_display_create_window_surface()
/external/chromium_org/third_party/angle/samples/gles2_book/Common/
DesUtil.c57 EGLBoolean CreateEGLContext ( EGLNativeWindowType hWnd, EGLDisplay* eglDisplay, in CreateEGLContext() argument
71 display = eglGetDisplay(GetDC(hWnd)); in CreateEGLContext()
112 surface = eglCreateWindowSurface(display, config, (EGLNativeWindowType)hWnd, surfaceAttribList); in CreateEGLContext()
203 if ( !CreateEGLContext ( esContext->hWnd, in esCreateWindow()
/external/chromium_org/chrome_frame/
Dtask_marshaller.cc58 BOOL TaskMarshallerThroughMessageQueue::ProcessWindowMessage(HWND hWnd, in ProcessWindowMessage() argument
64 if (hWnd == wnd_ && uMsg == msg_) { in ProcessWindowMessage()
70 if (hWnd == wnd_ && uMsg == WM_TIMER) { in ProcessWindowMessage()
/external/skia/include/views/
DSkOSWindow_Win.h49 bool wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
50 static bool QuitOnDeactivate(HWND hWnd);
/external/chromium_org/third_party/skia/include/views/
DSkOSWindow_Win.h49 bool wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
50 static bool QuitOnDeactivate(HWND hWnd);

123