Home
last modified time | relevance | path

Searched refs:hwnd (Results 1 – 25 of 104) sorted by relevance

12345

/external/icu4c/samples/layout/
Dlayout.cpp41 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
47 SetWindowTextA(hwnd, title); in PrettyTitle()
50 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
66 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph()
72 HWND hwnd; in WinMain() local
97 hwnd = CreateWindow(szAppName, NULL, in WinMain()
103 ShowWindow(hwnd, iCmdShow); in WinMain()
104 UpdateWindow(hwnd); in WinMain()
107 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
117 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
[all …]
Dclayout.c42 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
48 SetWindowTextA(hwnd, title); in PrettyTitle()
51 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
67 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph()
73 HWND hwnd; in WinMain() local
98 hwnd = CreateWindow(szAppName, NULL, in WinMain()
104 ShowWindow(hwnd, iCmdShow); in WinMain()
105 UpdateWindow(hwnd); in WinMain()
108 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
118 LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in WndProc() argument
[all …]
/external/webkit/Source/WebCore/platform/win/
DWindowMessageBroadcaster.cpp44 void WindowMessageBroadcaster::addListener(HWND hwnd, WindowMessageListener* listener) in addListener() argument
46 WindowMessageBroadcaster* broadcaster = instancesMap().get(hwnd); in addListener()
48 broadcaster = new WindowMessageBroadcaster(hwnd); in addListener()
49 instancesMap().add(hwnd, broadcaster); in addListener()
55 void WindowMessageBroadcaster::removeListener(HWND hwnd, WindowMessageListener* listener) in removeListener() argument
57 WindowMessageBroadcaster* broadcaster = instancesMap().get(hwnd); in removeListener()
64 WindowMessageBroadcaster::WindowMessageBroadcaster(HWND hwnd) in WindowMessageBroadcaster() argument
65 : m_subclassedWindow(hwnd) in WindowMessageBroadcaster()
68 ASSERT_ARG(hwnd, IsWindow(hwnd)); in WindowMessageBroadcaster()
112 LRESULT CALLBACK WindowMessageBroadcaster::SubclassedWndProc(HWND hwnd, UINT message, WPARAM wParam… in SubclassedWndProc() argument
[all …]
/external/chromium/chrome/browser/ui/tabs/
Ddock_info_win.cc33 static BOOL CALLBACK WindowCallbackProc(HWND hwnd, LPARAM lParam) { in WindowCallbackProc() argument
35 if (finder->ignore_.find(hwnd) != finder->ignore_.end()) in WindowCallbackProc()
38 return finder->ShouldStopIterating(hwnd) ? FALSE : TRUE; in WindowCallbackProc()
62 virtual bool ShouldStopIterating(HWND hwnd) { in ShouldStopIterating() argument
63 if (hwnd == target_) { in ShouldStopIterating()
69 if (!IsWindowVisible(hwnd)) { in ShouldStopIterating()
75 if (!GetWindowRect(hwnd, &r) || !PtInRect(&r, screen_loc_.ToPOINT())) { in ShouldStopIterating()
80 LONG ex_styles = GetWindowLong(hwnd, GWL_EXSTYLE); in ShouldStopIterating()
97 if (GetWindowRgn(hwnd, tmp_region_.Get()) == ERROR) { in ShouldStopIterating()
158 virtual bool ShouldStopIterating(HWND hwnd) { in ShouldStopIterating() argument
[all …]
/external/openssl/apps/
Dwinrand.c73 HWND hwnd; in WinMain() local
99 hwnd = CreateWindow(appname, OPENSSL_VERSION_TEXT, in WinMain()
103 ShowWindow(hwnd, iCmdShow); in WinMain()
104 UpdateWindow(hwnd); in WinMain()
116 LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) in WndProc() argument
126 hdc = BeginPaint(hwnd, &ps); in WndProc()
127 GetClientRect(hwnd, &rect); in WndProc()
130 EndPaint(hwnd, &ps); in WndProc()
142 MessageBox(hwnd, "Couldn't write random file!", in WndProc()
147 return DefWindowProc(hwnd, iMsg, wParam, lParam); in WndProc()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_win.cc26 HWND hwnd = window_tracker_->GetResource(handle); in IsWindowMaximized() local
27 if (hwnd) { in IsWindowMaximized()
30 GetWindowPlacement(hwnd, &window_placement); in IsWindowMaximized()
49 HWND hwnd = window_tracker_->GetResource(handle); in GetWindowBounds() local
50 if (hwnd) { in GetWindowBounds()
53 GetWindowPlacement(hwnd, &window_placement); in GetWindowBounds()
63 HWND hwnd = window_tracker_->GetResource(handle); in SetWindowBounds() local
64 if (::MoveWindow(hwnd, bounds.x(), bounds.y(), bounds.width(), in SetWindowBounds()
75 HWND hwnd = window_tracker_->GetResource(handle); in SetWindowVisible() local
76 ::ShowWindow(hwnd, visible ? SW_SHOW : SW_HIDE); in SetWindowVisible()
/external/libpng/contrib/visupng/
DVisualPng.c51 BOOL LoadImageFile(HWND hwnd, PTSTR pstrPathName,
55 BOOL DisplayImage (HWND hwnd, BYTE **ppDib,
81 HWND hwnd; in WinMain() local
122 hwnd = CreateWindow (szProgName, szAppName, in WinMain()
129 ShowWindow (hwnd, iCmdShow); in WinMain()
130 UpdateWindow (hwnd); in WinMain()
136 if (!TranslateAccelerator (hwnd, hAccel, &msg)) in WinMain()
145 LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, in WndProc() argument
179 PngFileInitialize (hwnd); in WndProc()
197 if (!LoadImageFile (hwnd, szImgPathName, in WndProc()
[all …]
DPngFile.h16 void PngFileInitialize (HWND hwnd) ;
17 BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
18 BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
DPngFile.c48 void PngFileInitialize (HWND hwnd) in PngFileInitialize() argument
54 ofn.hwndOwner = hwnd; in PngFileInitialize()
75 BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) in PngFileOpenDlg() argument
77 ofn.hwndOwner = hwnd; in PngFileOpenDlg()
85 BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) in PngFileSaveDlg() argument
87 ofn.hwndOwner = hwnd; in PngFileSaveDlg()
/external/chromium/third_party/libjingle/source/talk/base/
Dwin32window.cc103 LRESULT Win32Window::WndProc(HWND hwnd, UINT uMsg, in WndProc() argument
106 ::GetWindowLongPtr(hwnd, GWL_USERDATA)); in WndProc()
110 that->wnd_ = hwnd; in WndProc()
111 ::SetWindowLongPtr(hwnd, GWL_USERDATA, reinterpret_cast<LONG_PTR>(that)); in WndProc()
117 for (HWND child = ::GetWindow(hwnd, GW_CHILD); child; in WndProc()
123 ::SetWindowLongPtr(hwnd, GWL_USERDATA, NULL); in WndProc()
131 return ::DefWindowProc(hwnd, uMsg, wParam, lParam); in WndProc()
/external/webkit/Source/WebKit2/Shared/win/
DNativeWebKeyboardEventWin.cpp33 NativeWebKeyboardEvent::NativeWebKeyboardEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPara… in NativeWebKeyboardEvent() argument
34 : WebKeyboardEvent(WebEventFactory::createWebKeyboardEvent(hwnd, message, wParam, lParam)) in NativeWebKeyboardEvent()
37 m_nativeEvent.hwnd = hwnd; in NativeWebKeyboardEvent()
DNativeWebMouseEventWin.cpp33 NativeWebMouseEvent::NativeWebMouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, boo… in NativeWebMouseEvent() argument
34 …: WebMouseEvent(WebEventFactory::createWebMouseEvent(hwnd, message, wParam, lParam, didActivateWeb… in NativeWebMouseEvent()
37 m_nativeEvent.hwnd = hwnd; in NativeWebMouseEvent()
/external/chromium/chrome/browser/ui/views/status_icons/
Dstatus_tray_win.cc40 LRESULT CALLBACK StatusTrayWin::WndProcStatic(HWND hwnd, in WndProcStatic() argument
45 GetWindowLongPtr(hwnd, GWLP_USERDATA)); in WndProcStatic()
47 return msg_wnd->WndProc(hwnd, message, wparam, lparam); in WndProcStatic()
49 return ::DefWindowProc(hwnd, message, wparam, lparam); in WndProcStatic()
52 LRESULT CALLBACK StatusTrayWin::WndProc(HWND hwnd, in WndProc() argument
85 return ::DefWindowProc(hwnd, message, wparam, lparam); in WndProc()
Dstatus_tray_win.h19 LRESULT CALLBACK WndProc(HWND hwnd,
29 static LRESULT CALLBACK WndProcStatic(HWND hwnd,
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/
DGetValueNetscapeWindow.cpp49 HWND hwnd; in NPP_SetWindow() local
50 NPError error = NPN_GetValue(NPNVnetscapeWindow, &hwnd); in NPP_SetWindow()
56 if (!::IsWindow(hwnd)) { in NPP_SetWindow()
61 if (hwnd == window->window) { in NPP_SetWindow()
DWindowGeometryInitializedBeforeSetWindow.cpp54 HWND hwnd = reinterpret_cast<HWND>(window->window); in NPP_SetWindow() local
56 if (!::GetClientRect(hwnd, &rect)) { in NPP_SetWindow()
66 HWND parent = ::GetParent(hwnd); in NPP_SetWindow()
73 if (!::MapWindowPoints(hwnd, parent, reinterpret_cast<POINT*>(&rect), 2)) { in NPP_SetWindow()
DWindowRegionIsSetToClipRect.cpp63 HWND hwnd = reinterpret_cast<HWND>(window->window); in NPP_SetWindow() local
66 if (::GetWindowRgnBox(hwnd, &regionRect) == ERROR) { in NPP_SetWindow()
86 if (!::GetClassNameW(hwnd, className, _countof(className))) { in NPP_SetWindow()
/external/chromium/chrome/browser/
Dprocess_singleton.h133 LRESULT OnCopyData(HWND hwnd, const COPYDATASTRUCT* cds);
135 LRESULT CALLBACK WndProc(HWND hwnd,
140 static LRESULT CALLBACK WndProcStatic(HWND hwnd, in WndProcStatic() argument
145 GetWindowLongPtr(hwnd, GWLP_USERDATA)); in WndProcStatic()
146 return msg_wnd->WndProc(hwnd, message, wparam, lparam); in WndProcStatic()
Daeropeek_manager.cc66 /* [in] */ __RPC__in HWND hwnd,
113 /* [in] */ __RPC__in HWND hwnd,
117 /* [in] */ __RPC__in HWND hwnd,
132 /* [in] */ __RPC__in HWND hwnd,
137 /* [in] */ __RPC__in HWND hwnd,
142 /* [in] */ __RPC__in HWND hwnd,
145 /* [in] */ __RPC__in HWND hwnd,
149 /* [in] */ __RPC__in HWND hwnd,
152 /* [in] */ __RPC__in HWND hwnd,
728 if (!IsWindow(hwnd())) {
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
DSDL_os2fslib.c103 #define FSLIB_BITBLT(hwnd, buffer, top, left, width, height) \ argument
106 FSLib_BitBlt(hwnd, buffer, top, left, width, height); \
110 #define FSLIB_BITBLT(hwnd, buffer, top, left, width, height) \ argument
111 FSLib_BitBlt(hwnd, buffer, top, left, width, height);
122 static BOOL SetAccessableWindowPos(HWND hwnd, HWND hwndInsertBehind, in SetAccessableWindowPos() argument
142 return WinSetWindowPos(hwnd, hwndInsertBehind, x, y, cx, cy, fl); in SetAccessableWindowPos()
147 WinQueryWindowPos(hwnd, &swp); in SetAccessableWindowPos()
156 return WinSetWindowPos(hwnd, hwndInsertBehind, x, y, cx, cy, fl); in SetAccessableWindowPos()
161 WinQueryWindowPos(hwnd, &swp); in SetAccessableWindowPos()
172 return WinSetWindowPos(hwnd, hwndInsertBehind, x, y, cx, cy, fl | SWP_MOVE); in SetAccessableWindowPos()
[all …]
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/win/
DWindowedPluginTest.cpp61 LRESULT WindowedPluginTest::staticWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) in staticWndProc() argument
63 …WindowedPluginTest* instance = reinterpret_cast<WindowedPluginTest*>(::GetPropW(hwnd, instancePoin… in staticWndProc()
70 return ::CallWindowProcW(instance->m_originalWndProc, hwnd, message, wParam, lParam); in staticWndProc()
/external/webkit/Source/WebKit/chromium/src/win/
DWebInputEventFactory.cpp99 WebKeyboardEvent WebInputEventFactory::keyboardEvent(HWND hwnd, UINT message, in keyboardEvent() argument
166 static LPARAM GetRelativeCursorPos(HWND hwnd) in GetRelativeCursorPos() argument
170 ScreenToClient(hwnd, &pos); in GetRelativeCursorPos()
179 WebMouseEvent WebInputEventFactory::mouseEvent(HWND hwnd, UINT message, in mouseEvent() argument
201 lparam = GetRelativeCursorPos(hwnd); in mouseEvent()
248 ClientToScreen(hwnd, &globalPoint); in mouseEvent()
309 WebMouseWheelEvent WebInputEventFactory::mouseWheelEvent(HWND hwnd, UINT message, in mouseWheelEvent() argument
405 MapWindowPoints(0, hwnd, &clientPoint, 1); in mouseWheelEvent()
/external/skia/legacy/src/xml/
DSkJS.cpp161 SkJS::SkJS(void* hwnd) : SkOSWindow(hwnd) { in SkJS() argument
206 void SkJS::Test(void* hwnd) { in Test() argument
207 SkJS js(hwnd); in Test()
/external/skia/src/xml/
DSkJS.cpp161 SkJS::SkJS(void* hwnd) : SkOSWindow(hwnd) { in SkJS() argument
206 void SkJS::Test(void* hwnd) { in Test() argument
207 SkJS js(hwnd); in Test()
/external/chromium/base/win/
Dwrapped_window_proc.h56 LRESULT CALLBACK WrappedWindowProc(HWND hwnd, UINT message, in WrappedWindowProc() argument
60 rv = proc(hwnd, message, wparam, lparam); in WrappedWindowProc()

12345