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

/openjdk7/jdk/src/windows/javavm/export/
H A Djawt_md.h43 HWND hwnd; member in union:jawt_Win32DrawingSurfaceInfo::__anon1050
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Dialog.h91 static BOOL IsModalExcluded(HWND hwnd);
103 inline static BOOL ModalCanBeActivated(HWND hwnd) { argument
104 return ::IsWindow(hwnd) &&
105 ::IsWindowVisible(hwnd) &&
106 ::IsWindowEnabled(hwnd) &&
107 !::IsWindow(AwtWindow::GetModalBlocker(hwnd));
H A DDllUtil.cpp78 HRESULT DwmAPI::DwmGetWindowAttribute(HWND hwnd, DWORD dwAttribute, argument
82 return GetInstance().DwmGetWindowAttributeFunction()(hwnd, dwAttribute,
H A DMouseInfo.cpp59 HWND hwnd = ourWindow->GetHWnd(); local
65 && componentFromPoint->GetHWnd() != hwnd
71 return ((componentFromPoint != NULL) && (componentFromPoint->GetHWnd() == hwnd)) ? JNI_TRUE : JNI_FALSE;
H A DComCtl32Util.cpp44 WNDPROC ComCtl32Util::SubclassHWND(HWND hwnd, WNDPROC _WindowProc) { argument
47 ::SetWindowSubclass(hwnd, p, (UINT_PTR)_WindowProc, NULL); // _WindowProc is used as subclass ID
50 return (WNDPROC)::SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR)_WindowProc);
54 void ComCtl32Util::UnsubclassHWND(HWND hwnd, WNDPROC _WindowProc, WNDPROC _DefWindowProc) { argument
57 ::RemoveWindowSubclass(hwnd, p, (UINT_PTR)_WindowProc); // _WindowProc is used as subclass ID
59 ::SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR)_DefWindowProc);
63 LRESULT ComCtl32Util::DefWindowProc(WNDPROC _DefWindowProc, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { argument
65 return ::DefSubclassProc(hwnd, msg, wParam, lParam);
67 return ::CallWindowProc(_DefWindowProc, hwnd, msg, wParam, lParam);
69 return ::DefWindowProc(hwnd, ms
73 SharedWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData) argument
[all...]
H A Dawt_AWTEvent.cpp105 HWND hwnd = p->GetHWnd(); local
111 pMsg->hwnd = hwnd;
H A Dawt_Debug.cpp110 HWND hwnd = va_arg(arglist, HWND); local
113 DASSERT(argc == 2 && ::IsWindow(hwnd));
116 ::GetUpdateRect(hwnd, &r, FALSE);
118 int updated = ::GetUpdateRgn(hwnd, rgn, FALSE);
119 DTrace_PrintImpl("%s: hwnd=%x, %d %d %d %d\n", msg, hwnd, r.left, r.top, r.right, r.bottom);
H A Dawt_Frame.h154 INLINE void SetImeTargetComponent(HWND hwnd) { m_imeTargetComponent = hwnd; } argument
H A Dawt_Scrollbar.cpp168 HWND hwnd = ((PMOUSEHOOKSTRUCT)lParam)->hwnd; local
169 AwtComponent *comp = AwtComponent::GetComponent(hwnd);
185 if (::PeekMessage(lpMsg, hwnd, msgID, msgID, PM_NOREMOVE)) {
H A Dawt_Choice.cpp387 LRESULT CALLBACK AwtChoice::ListWindowProc(HWND hwnd, UINT message, argument
397 DASSERT(::IsWindow(hwnd));
408 ::GetClientRect(hwnd, &rect);
416 ::ScreenToClient(hwnd, &lastPt);
425 AwtChoice *c = (AwtChoice *)::GetWindowLongPtr(hwnd, GWLP_USERDATA);
432 return ComCtl32Util::GetInstance().DefWindowProc(NULL, hwnd, message, wParam, lParam);
H A Dawt_TextComponent.cpp380 HWND hwnd = ImmGetHWnd(); local
381 HIMC hIMC = ImmGetContext(hwnd);
393 ImmReleaseContext(hwnd, hIMC);
H A Dawt_Component.h164 INLINE void SetHWnd(HWND hwnd) { m_hwnd = hwnd; } argument
632 static INLINE BOOL IsTopLevelHWnd(HWND hwnd) { argument
633 AwtComponent *comp = AwtComponent::GetComponent(hwnd);
636 static INLINE BOOL IsEmbeddedFrameHWnd(HWND hwnd) { argument
637 AwtComponent *comp = AwtComponent::GetComponent(hwnd);
641 static jint GetDrawState(HWND hwnd);
642 static void SetDrawState(HWND hwnd, jint state);
909 void ReleaseDCList(HWND hwnd, DCList &list);
H A Dawt_Frame.cpp642 HWND hwnd = GetHWnd(); local
670 ::GetWindowPlacement(hwnd, &wp);
677 ::SetWindowPlacement(hwnd, &wp);
682 ::ShowWindow(hwnd, SW_SHOWMINNOACTIVE);
684 ::ShowWindow(hwnd, SW_SHOWMINIMIZED);
693 ::ShowWindow(hwnd, SW_MAXIMIZE);
697 ::ShowWindow(hwnd, SW_MAXIMIZE);
699 ::ShowWindow(hwnd, SW_SHOWMAXIMIZED);
705 ::ShowWindow(hwnd, SW_SHOWNA);
727 ::ShowWindow(hwnd, SW_SHOWNOACTIVAT
956 HWND hwnd = m_actualFocusedWindow->GetHWnd(); local
1251 HWND hwnd = f->GetHWnd(); local
[all...]
H A Dawt_TrayIcon.cpp225 LRESULT CALLBACK AwtTrayIcon::TrayWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) argument
238 if (hwnd == AwtTrayIcon::sm_msgWindow) {
247 if (hwnd == AwtTrayIcon::sm_msgWindow) {
255 retValue = ::DefWindowProc(hwnd, uMsg, wParam, lParam);
H A Dawt_Toolkit.cpp349 HWND hwnd = CreateWindow( local
358 DASSERT(hwnd != NULL);
359 return hwnd;
666 void AwtToolkit::DestroyComponentHWND(HWND hwnd) argument
668 if (!::IsWindow(hwnd)) {
674 (tk.m_lastMouseOver->GetHWnd() == hwnd))
679 ::SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)NULL);
680 tk.SendMessage(WM_AWT_DESTROY_WINDOW, (WPARAM)hwnd, 0);
686 void SpyWinMessage(HWND hwnd, UINT message, LPCTSTR szComment);
1143 HWND hwnd local
[all...]
H A Dawt_Window.cpp575 ti.hwnd = warningWindow;
710 LRESULT CALLBACK AwtWindow::WarningWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) argument
714 PaintWarningWindow(hwnd);
720 HWND javaWindow = ::GetParent(hwnd);
757 return ::DefWindowProc(hwnd, uMsg, wParam, lParam);
945 HWND hwnd = AwtToolkit::GetInstance().GetWindowUnderMouse(); local
946 if (hwnd == GetHWnd()) {
949 if (hwnd == warningWindow) {
2089 fi.hwnd = hWnd;
2172 HWND hwnd local
2615 HWND hwnd = GetHWnd(); local
[all...]
H A Dawt_Component.cpp347 // Requests for Toolkit hwnd resolution happen pretty often. Check first.
370 * hwnd is an AWT component hwnd
510 HWND hwnd = ::CreateWindowEx(windowExStyle, local
526 if (hwnd == NULL)
559 m_hwnd = hwnd;
609 * Returns hwnd for target on non Toolkit thread
620 HWND hwnd = reinterpret_cast<HWND>(static_cast<LONG_PTR> ( local
623 return hwnd;
688 HWND hwnd local
882 HWND hwnd = ::GetParent(GetHWnd()); local
1045 SpyWinMessage(HWND hwnd, UINT message, LPCTSTR szComment) argument
1537 HWND hwnd = ImmGetHWnd(); local
2258 GetDrawState(HWND hwnd) argument
2263 SetDrawState(HWND hwnd, jint state) argument
3742 HWND hwnd = ImmGetHWnd(); local
3771 HWND hwnd = ImmGetHWnd(); local
3787 HWND hwnd = ImmGetHWnd(); local
3848 HWND hwnd = ImmGetHWnd(); local
7182 ReleaseDCList(HWND hwnd, DCList &list) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/java2d/opengl/
H A DWGLSurfaceData.java45 long hwnd);
58 long hwnd = peer != null ? peer.getHWnd() : 0L;
60 initOps(pConfigInfo, peer, hwnd);
44 initOps(long pConfigInfo, WComponentPeer peer, long hwnd) argument
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DGraphicsDevice.java177 long hwnd);
189 long hwnd = wpeer.getHWnd();
190 if (hwnd == 0l) {
195 fsStatus = enterFullScreenExclusiveNative(screen, hwnd);
334 private static native void configDisplayModeNative(int screen, long hwnd, argument
367 long hwnd = wpeer.getHWnd();
368 if (hwnd == 0l) {
374 configDisplayModeNative(screen, hwnd, width, height,
176 enterFullScreenExclusiveNative(int screen, long hwnd) argument
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/
H A DWGLGraphicsConfig.c315 HWND hwnd; local
321 hwnd = WGLGC_CreateScratchWindow(screennum);
322 if (hwnd == 0) {
329 hdc = GetDC(hwnd);
333 DestroyWindow(hwnd);
341 ReleaseDC(hwnd, hdc);
342 DestroyWindow(hwnd);
350 ReleaseDC(hwnd, hdc);
351 DestroyWindow(hwnd);
371 HWND hwnd; local
496 HWND hwnd; local
[all...]
H A DWGLSurfaceData.c62 jobject peer, jlong hwnd)
99 wglsdo->window = (HWND)jlong_to_ptr(hwnd);
419 HWND hwnd; local
449 hwnd = WGLGC_CreateScratchWindow(wglInfo->screen);
450 if (hwnd == 0) {
457 hdc = GetDC(hwnd);
461 DestroyWindow(hwnd);
482 ReleaseDC(hwnd, hdc);
483 DestroyWindow(hwnd);
490 ReleaseDC(hwnd, hd
60 Java_sun_java2d_opengl_WGLSurfaceData_initOps(JNIEnv *env, jobject wglsd, jlong pConfigInfo, jobject peer, jlong hwnd) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrintDialogPeer.java56 // don't use checkCreation() from WComponentPeer to avoid hwnd check
81 synchronized void setHWnd(long hwnd) { argument
82 this.hwnd = hwnd;
84 if (hwnd != 0) {
85 window.modalDisable((Dialog)target, hwnd);
94 if (hwnd != 0) {
95 window.modalDisable((Dialog)target, hwnd);
100 if (hwnd != 0) {
H A DWFileDialogPeer.java77 // don't use checkCreation() from WComponentPeer to avoid hwnd check
107 void setHWnd(long hwnd) { argument
108 if (this.hwnd == hwnd) {
111 this.hwnd = hwnd;
113 if (hwnd != 0) {
114 window.modalDisable((Dialog)target, hwnd);
213 if (hwnd != 0) {
214 window.modalDisable((Dialog)target, hwnd);
[all...]
H A DWComponentPeer.java70 protected volatile long hwnd; field in class:WComponentPeer
111 return hwnd;
771 if ((hwnd == 0) || (pData == 0))
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DPipelineManager.cpp283 HWND hwnd = GetCurrentFocusWindow(); local
284 if (hwnd != defaultFocusWindow) {
289 ::GetWindowPlacement(hwnd, &wp);
862 J2dTraceLn2(J2D_TRACE_INFO,"D3DPPLM::SetFSFocusWindow hwnd=0x%x adapter=%d",

Completed in 133 milliseconds