Lines Matching refs:hChild
870 static BOOL MDI_AugmentFrameMenu( HWND frame, HWND hChild ) in MDI_AugmentFrameMenu() argument
879 TRACE("frame %p,child %p\n",frame,hChild); in MDI_AugmentFrameMenu()
893 if (!(hSysPopup = GetSystemMenu(hChild, FALSE))) in MDI_AugmentFrameMenu()
895 TRACE("child %p doesn't have a system menu\n", hChild); in MDI_AugmentFrameMenu()
900 SC_CLOSE, is_close_enabled(hChild, hSysPopup) ? in MDI_AugmentFrameMenu()
908 hIcon = (HICON)SendMessageW(hChild, WM_GETICON, ICON_SMALL, 0); in MDI_AugmentFrameMenu()
910 hIcon = (HICON)GetClassLongPtrW(hChild, GCLP_HICONSM); in MDI_AugmentFrameMenu()
912 hIcon = (HICON)SendMessageW(hChild, WM_GETICON, ICON_BIG, 0); in MDI_AugmentFrameMenu()
914 hIcon = (HICON)GetClassLongPtrW(hChild, GCLP_HICON); in MDI_AugmentFrameMenu()
922 HDC hdc = GetDC(hChild); in MDI_AugmentFrameMenu()
936 ReleaseDC(hChild, hdc); in MDI_AugmentFrameMenu()
963 static BOOL MDI_RestoreFrameMenu( HWND frame, HWND hChild, HBITMAP hBmpClose ) in MDI_RestoreFrameMenu() argument
970 TRACE("frame %p,child %p\n",frame, hChild); in MDI_RestoreFrameMenu()