Searched defs:hWnd (Results 1 - 21 of 21) sorted by relevance

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_PrintDialog.cpp47 LRESULT CALLBACK PrintDialogWndProc(HWND hWnd, UINT message, argument
61 jobject peer = (jobject)(::GetProp(hWnd, ModalDialogPeerProp));
68 WNDPROC lpfnWndProc = (WNDPROC)(::GetProp(hWnd, NativeDialogWndProcProp));
69 return ComCtl32Util::GetInstance().DefWindowProc(lpfnWndProc, hWnd, message, wParam, lParam);
H A Dawt_Win32GraphicsEnv.cpp309 HWND hWnd = ::GetDesktopWindow(); local
310 HDC hDC = ::GetDC(hWnd);
312 ::ReleaseDC(hWnd, hDC);
328 HWND hWnd = ::GetDesktopWindow(); local
329 HDC hDC = ::GetDC(hWnd);
331 ::ReleaseDC(hWnd, hDC);
H A Dawt_Checkbox.cpp474 HWND hWnd = c->GetHWnd(); local
477 VERIFY(::GetWindowRect(hWnd, &rect));
478 VERIFY(::ScreenToClient(hWnd, (LPPOINT)&rect));
479 VERIFY(::ScreenToClient(hWnd, ((LPPOINT)&rect) + 1));
480 VERIFY(::InvalidateRect(hWnd, &rect,TRUE));
481 VERIFY(::UpdateWindow(hWnd));
484 VERIFY(::InvalidateRect(hWnd, NULL, FALSE));
H A Dawt_DesktopProperties.cpp346 void CheckFontSmoothingSettings(HWND hWnd) { argument
366 if (hWnd != NULL) {
368 if (!::GetUpdateRect(hWnd, &r, FALSE) || r.top != 0 || r.left != 0) {
H A Dawt_TextArea.cpp162 AwtTextArea::EditProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { argument
169 DASSERT(::IsWindow(::GetParent(hWnd)));
179 ::SendMessage(::GetParent(hWnd), message, wParam, lParam);
191 hWnd, message, wParam, lParam);
520 HWND hWnd = GetHWnd(); local
521 LONG styles = ::GetWindowLong(hWnd, GWL_STYLE);
526 VERIFY(::GetClientRect(hWnd, &rect));
530 HDC hDC = ::GetDC(hWnd);
533 VERIFY(::ReleaseDC(hWnd, hDC));
536 LONG lineCount = static_cast<LONG>(::SendMessage(hWnd,
[all...]
H A Dawt_Dialog.cpp222 HWND hWnd = (HWND)wParam; local
223 HWND blocker = AwtWindow::GetModalBlocker(hWnd);
230 if (::IsIconic(hWnd)) {
231 ::ShowWindow(hWnd, SW_RESTORE);
246 HWND hWnd = mhs->hwnd; local
256 HWND blocker = AwtWindow::GetModalBlocker(AwtComponent::GetTopLevelParentForWindow(hWnd));
258 BOOL onTaskbar = !(::WindowFromPoint(mhs->pt) == hWnd);
342 HWND hWnd = mhs->hwnd; local
343 HWND blocker = AwtWindow::GetModalBlocker(AwtComponent::GetTopLevelParentForWindow(hWnd));
348 if (lastHWnd != hWnd) {
440 ModalPerformActivation(HWND hWnd) argument
[all...]
H A Dawt_Win32GraphicsDevice.cpp33 * the current default device or a device for a given hWnd) must
582 int AwtWin32GraphicsDevice::DeviceIndexForWindow(HWND hWnd) argument
584 HMONITOR mon = MonitorFromWindow(hWnd, MONITOR_DEFAULTTONEAREST);
1014 HWND hWnd = window->GetHWnd(); local
1016 if (!::SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0,
1045 HWND hWnd = window->GetHWnd(); local
1051 if (!::SetWindowPos(hWnd, HWND_NOTOPMOST, 0, 0, 0, 0,
H A Dawt_Component.h157 static LRESULT CALLBACK WndProc(HWND hWnd, UINT message,
166 static AwtComponent* GetComponent(HWND hWnd);
721 static AwtComponent* GetComponentImpl(HWND hWnd);
893 HWND hWnd; member in class:DCItem
902 void AddDC(HDC hDC, HWND hWnd);
905 DCItem *RemoveAllDCs(HWND hWnd);
H A Dawt_Frame.cpp1062 HWND hWnd = GetHWnd(); local
1063 HDC hDC = ::GetDC(hWnd);
1066 VERIFY(::ReleaseDC(hWnd, hDC));
H A Dawt_TrayIcon.cpp147 HWND hWnd = ::CreateWindow(AwtTrayIcon::GetClassName(), TEXT("TrayMessageWindow"), local
150 return hWnd;
209 m_nid.hWnd = AwtTrayIcon::sm_msgWindow;
H A Dawt_Font.cpp1467 HWND hWnd = ::GetDesktopWindow(); local
1468 DASSERT(hWnd);
1469 m_hTmpDC = ::GetWindowDC(hWnd);
1481 VERIFY(::ReleaseDC(hWnd, m_hTmpDC) != 0);
H A Dawt_Toolkit.cpp692 LRESULT CALLBACK AwtToolkit::WndProc(HWND hWnd, UINT message, argument
700 SpyWinMessage(hWnd, message, TEXT("AwtToolkit"));
1090 return DefWindowProc(hWnd, message, wParam, lParam);
1257 static BOOL CALLBACK CancelAllThreadWindows(HWND hWnd, LPARAM) argument
1261 ::SendMessage(hWnd, WM_COMMAND, MAKEWPARAM(IDCANCEL, 0), (LPARAM)hWnd);
1262 ::SendMessage(hWnd, WM_CANCELMODE, 0, 0);
1745 void AwtToolkit::GetWindowRect(HWND hWnd, LPRECT lpRect) argument
1748 if (S_OK == DwmAPI::DwmGetWindowAttribute(hWnd,
1756 ::GetWindowRect(hWnd, lpRec
2540 HWND hWnd = (HWND)platformInfo; local
[all...]
H A Dawt_Window.cpp405 bool AwtWindow::IsWarningWindow(HWND hWnd) argument
410 ::RealGetWindowClass(hWnd, windowClassName, len);
418 HWND hWnd = (HWND)wParam; local
419 AwtComponent *comp = AwtComponent::GetComponent(hWnd);
424 if (AwtWindow::IsWarningWindow(hWnd)) {
1175 HWND hWnd = GetHWnd(); local
1275 BOOL result = ::AnimateWindow(hWnd, (DWORD)200, animateStyle);
1282 ::GetWindowRect(hWnd,&rect);
1283 ::ScreenToClient(hWnd, (LPPOINT)&rect);
1284 ::InvalidateRect(hWnd,
1918 InvalidateChildRect(HWND hWnd, LPARAM) argument
2086 FlashWindowEx(HWND hWnd, UINT count, DWORD timeout, DWORD flags) argument
2678 HWND hWnd = GetHWnd(); local
[all...]
H A Dawt_Component.cpp342 * static function to get AwtComponent pointer from hWnd --
346 AwtComponent* AwtComponent::GetComponent(HWND hWnd) { argument
348 if (hWnd == AwtToolkit::GetInstance().GetHWnd()) {
351 if (sm_getComponentCache && sm_getComponentCache->GetHWnd() == hWnd) {
356 if (::IsWindow(hWnd) &&
357 AwtToolkit::MainThread() == ::GetWindowThreadProcessId(hWnd, NULL))
360 if (::SendMessage(hWnd, WmAwtIsComponent, 0, 0L)) {
361 return sm_getComponentCache = GetComponentImpl(hWnd);
368 * static function to get AwtComponent pointer from hWnd--
372 AwtComponent* AwtComponent::GetComponentImpl(HWND hWnd) { argument
384 WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) argument
6041 HWND hWnd = c->GetHWnd(); local
7088 AddDC(HDC hDC, HWND hWnd) argument
7138 RemoveAllDCs(HWND hWnd) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DGraphicsDevice.cpp145 HWND hWnd; local
162 if (w == NULL || !::IsWindow(hWnd = w->GetTopLevelHWnd())) {
177 pMgr->SetFSFocusWindow(adapter, hWnd);
180 newParams.hDeviceWindow = hWnd;
H A DD3DSurfaceData.cpp313 HWND hWnd; local
325 hWnd = pPeer->GetHWnd();
326 if (!IsWindow(hWnd)) {
379 CreateSwapChain(hWnd, numBuffers,
H A DD3DResourceManager.cpp427 D3DResourceManager::CreateSwapChain(HWND hWnd, UINT numBuffers, argument
440 width, height, hWnd, numBuffers);
474 newParams.hDeviceWindow = hWnd;
H A DD3DPipelineManager.cpp831 HWND hWnd = CreateWindow(L"D3DFocusWindow", L"D3DFocusWindow", 0, local
834 if (hWnd == 0) {
840 hWnd, adapterOrdinal);
841 defaultFocusWindow = hWnd;
843 return hWnd;
860 HWND D3DPipelineManager::SetFSFocusWindow(UINT adapterOrdinal, HWND hWnd) argument
863 hWnd, adapterOrdinal);
866 pAdapters[adapterOrdinal].fsFocusWindow = hWnd;
879 if (hWnd == 0) {
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_impl.h84 HWND hWnd; member in struct:Splash
/openjdk7/jdk/src/windows/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.c251 hdcDst = GetDC(splash->hWnd);
253 GetWindowRect(splash->hWnd, &rect);
261 UpdateLayeredWindow(splash->hWnd, hdcDst, &ptDst, &size,
264 ReleaseDC(splash->hWnd, hdcDst);
270 InvalidateRect(splash->hWnd, NULL, FALSE);
276 SetWindowRgn(splash->hWnd, hRgn, TRUE);
278 SetWindowRgn(splash->hWnd, NULL, TRUE);
280 UpdateWindow(splash->hWnd);
282 if (!IsWindowVisible(splash->hWnd)) {
284 ShowWindow(splash->hWnd, SW_SHO
326 SplashWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) argument
393 HWND hWnd; local
[all...]
/openjdk7/jdk/src/windows/native/sun/font/
H A Dlcdglyph.c151 if (hDesktopDC != 0 && hWnd != 0) { \
152 ReleaseDC(hWnd, hDesktopDC); \
201 HWND hWnd = NULL; local
205 hWnd = GetDesktopWindow();
206 hDesktopDC = GetWindowDC(hWnd);
478 ReleaseDC(hWnd, hDesktopDC);

Completed in 781 milliseconds