Home
last modified time | relevance | path

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

1234

/third_party/icu/icu4c/source/samples/layout/
H A Dlayout.cpp47 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
53 SetWindowTextA(hwnd, title); in PrettyTitle()
56 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
72 SetScrollInfo(hwnd, SB_VERT, &si, true); in InitParagraph()
78 HWND hwnd; in WinMain() local
103 hwnd = CreateWindow(szAppName, NULL, in WinMain()
109 ShowWindow(hwnd, iCmdShow); in WinMain()
110 UpdateWindow(hwnd); in WinMain()
113 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
123 LRESULT CALLBACK WndProc(HWND hwnd, UIN argument
[all...]
H A Dclayout.c49 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
55 SetWindowTextA(hwnd, title); in PrettyTitle()
58 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
74 SetScrollInfo(hwnd, SB_VERT, &si, true); in InitParagraph()
80 HWND hwnd; in WinMain() local
105 hwnd = CreateWindow(szAppName, NULL, in WinMain()
111 ShowWindow(hwnd, iCmdShow); in WinMain()
112 UpdateWindow(hwnd); in WinMain()
115 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
125 LRESULT CALLBACK WndProc(HWND hwnd, UIN argument
[all...]
/third_party/skia/third_party/externals/icu/source/samples/layout/
H A Dclayout.c48 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
54 SetWindowTextA(hwnd, title); in PrettyTitle()
57 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
73 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph()
79 HWND hwnd; in WinMain() local
104 hwnd = CreateWindow(szAppName, NULL, in WinMain()
110 ShowWindow(hwnd, iCmdShow); in WinMain()
111 UpdateWindow(hwnd); in WinMain()
114 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
124 LRESULT CALLBACK WndProc(HWND hwnd, UIN argument
[all...]
H A Dlayout.cpp47 void PrettyTitle(HWND hwnd, char *fileName) in PrettyTitle() argument
53 SetWindowTextA(hwnd, title); in PrettyTitle()
56 void InitParagraph(HWND hwnd, Context *context) in InitParagraph() argument
72 SetScrollInfo(hwnd, SB_VERT, &si, TRUE); in InitParagraph()
78 HWND hwnd; in WinMain() local
103 hwnd = CreateWindow(szAppName, NULL, in WinMain()
109 ShowWindow(hwnd, iCmdShow); in WinMain()
110 UpdateWindow(hwnd); in WinMain()
113 if (!TranslateAccelerator(hwnd, hAccel, &msg)) { in WinMain()
123 LRESULT CALLBACK WndProc(HWND hwnd, UIN argument
[all...]
/third_party/lzma/CPP/7zip/UI/FileManager/
H A DMyWindowsNew.h34 STDMETHOD(AddTab)(HWND hwnd) = 0;
35 STDMETHOD(DeleteTab)(HWND hwnd) = 0;
36 STDMETHOD(ActivateTab)(HWND hwnd) = 0;
37 STDMETHOD(SetActiveAlt)(HWND hwnd) = 0;
46 STDMETHOD(MarkFullscreenWindow)(HWND hwnd, BOOL fFullscreen) = 0;
101 STDMETHOD(SetProgressValue)(HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal) = 0;
102 STDMETHOD(SetProgressState)(HWND hwnd, TBPFLAG tbpFlags) = 0;
107 STDMETHOD(ThumbBarAddButtons)(HWND hwnd, UINT cButtons, LPTHUMBBUTTON pButton) = 0;
108 STDMETHOD(ThumbBarUpdateButtons)(HWND hwnd, UINT cButtons, LPTHUMBBUTTON pButton) = 0;
109 STDMETHOD(ThumbBarSetImageList)(HWND hwnd, HIMAGELIS
[all...]
/third_party/ffmpeg/libavdevice/
H A Dgdigrab.c57 HWND hwnd; /**< Handle of the window for the grab */ member
80 * @param hwnd The region outline window handle.
87 gdigrab_region_wnd_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) in gdigrab_region_wnd_proc() argument
95 hdc = BeginPaint(hwnd, &ps); in gdigrab_region_wnd_proc()
97 GetClientRect(hwnd, &rect); in gdigrab_region_wnd_proc()
106 EndPaint(hwnd, &ps); in gdigrab_region_wnd_proc()
109 return DefWindowProc(hwnd, msg, wparam, lparam); in gdigrab_region_wnd_proc()
124 HWND hwnd; in gdigrab_region_wnd_init() local
139 hwnd = CreateWindowEx(ex, WC_DIALOG, NULL, style, rect.left, rect.top, in gdigrab_region_wnd_init()
142 if (!hwnd) { in gdigrab_region_wnd_init()
208 HWND hwnd = gdigrab->region_hwnd; gdigrab_region_wnd_update() local
227 HWND hwnd; gdigrab_read_header() local
472 HWND hwnd = gdigrab->hwnd; paint_mouse_pointer() local
[all...]
H A Dvfwcap.c45 HWND hwnd; member
178 static LRESULT CALLBACK videostream_cb(HWND hwnd, LPVIDEOHDR vdhdr) in videostream_cb() argument
184 s = (AVFormatContext *) GetWindowLongPtr(hwnd, GWLP_USERDATA); in videostream_cb()
225 if(ctx->hwnd) { in vfw_read_close()
226 SendMessage(ctx->hwnd, WM_CAP_SET_CALLBACK_VIDEOSTREAM, 0, 0); in vfw_read_close()
227 SendMessage(ctx->hwnd, WM_CAP_DRIVER_DISCONNECT, 0, 0); in vfw_read_close()
228 DestroyWindow(ctx->hwnd); in vfw_read_close()
276 ctx->hwnd = capCreateCaptureWindow(NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, 0); in vfw_read_header()
277 if(!ctx->hwnd) { in vfw_read_header()
285 ret = SendMessage(ctx->hwnd, WM_CAP_DRIVER_CONNEC in vfw_read_header()
[all...]
/third_party/skia/third_party/externals/libpng/contrib/visupng/
H A DVisualPng.c53 BOOL LoadImageFile(HWND hwnd, PTSTR pstrPathName,
57 BOOL DisplayImage (HWND hwnd, BYTE **ppDib,
83 HWND hwnd; in WinMain() local
124 hwnd = CreateWindow (szProgName, szAppName, in WinMain()
131 ShowWindow (hwnd, iCmdShow); in WinMain()
132 UpdateWindow (hwnd); in WinMain()
138 if (!TranslateAccelerator (hwnd, hAccel, &msg)) in WinMain()
147 LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, in WndProc() argument
181 PngFileInitialize (hwnd); in WndProc()
199 if (!LoadImageFile (hwnd, szImgPathNam in WndProc()
661 LoadImageFile(HWND hwnd, PTSTR pstrPathName, png_byte **ppbImage, int *pxImgSize, int *pyImgSize, int *piChannels, png_color *pBkgColor) LoadImageFile() argument
705 DisplayImage(HWND hwnd, BYTE **ppDib, BYTE **ppDiData, int cxWinSize, int cyWinSize, BYTE *pbImage, int cxImgSize, int cyImgSize, int cImgChannels, BOOL bStretched) global() argument
[all...]
H A DPngFile.c50 void PngFileInitialize (HWND hwnd) in PngFileInitialize() argument
56 ofn.hwndOwner = hwnd; in PngFileInitialize()
77 BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) in PngFileOpenDlg() argument
79 ofn.hwndOwner = hwnd; in PngFileOpenDlg()
87 BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) in PngFileSaveDlg() argument
89 ofn.hwndOwner = hwnd; in PngFileSaveDlg()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DWin32SurfaceKHR.cpp23 VkResult getWindowSize(HWND hwnd, VkExtent2D &windowSize) in getWindowSize() argument
26 if(!IsWindow(hwnd) || !GetClientRect(hwnd, &clientRect)) in getWindowSize()
42 : hwnd(pCreateInfo->hwnd) in Win32SurfaceKHR()
44 ASSERT(IsWindow(hwnd) == TRUE); in Win32SurfaceKHR()
45 windowContext = GetDC(hwnd); in Win32SurfaceKHR()
53 ReleaseDC(hwnd, windowContext); in destroySurface()
67 VkResult result = getWindowSize(hwnd, extent); in getSurfaceCapabilities()
118 VkResult result = getWindowSize(hwnd, currWindowExten in lazyCreateFrameBuffer()
[all...]
/third_party/lame/dshow/
H A DPropPage_adv.cpp159 BOOL CMpegAudEncPropertyPageAdv::OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) in OnReceiveMessage() argument
173 CheckRadioButton(hwnd, IDC_RADIO_STEREO, IDC_RADIO_MONO, LOWORD(wParam)); in OnReceiveMessage()
176 EnableWindow(GetDlgItem(hwnd,IDC_CHECK_FORCE_MS),TRUE); in OnReceiveMessage()
178 EnableWindow(GetDlgItem(hwnd,IDC_CHECK_FORCE_MS),FALSE); in OnReceiveMessage()
186 m_pAEProps->set_EnforceVBRmin(IsDlgButtonChecked(hwnd, IDC_CHECK_ENFORCE_MIN)); in OnReceiveMessage()
191 m_pAEProps->set_VoiceMode(IsDlgButtonChecked(hwnd, IDC_CHECK_VOICE)); in OnReceiveMessage()
196 m_pAEProps->set_KeepAllFreq(IsDlgButtonChecked(hwnd, IDC_CHECK_KEEP_ALL_FREQ)); in OnReceiveMessage()
201 m_pAEProps->set_StrictISO(IsDlgButtonChecked(hwnd, IDC_CHECK_STRICT_ISO)); in OnReceiveMessage()
206 m_pAEProps->set_NoShortBlock(IsDlgButtonChecked(hwnd, IDC_CHECK_DISABLE_SHORT_BLOCK)); in OnReceiveMessage()
211 m_pAEProps->set_XingTag(IsDlgButtonChecked(hwnd, IDC_CHECK_XING_TA in OnReceiveMessage()
[all...]
H A DPropPage.cpp206 BOOL CMpegAudEncPropertyPage::OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam) in OnReceiveMessage() argument
216 SetDlgItemText(hwnd,IDC_TEXT_QUALITY,szQualityDesc[pos]); in OnReceiveMessage()
229 int nBitrate = SendDlgItemMessage(hwnd, IDC_COMBO_CBR, CB_GETCURSEL, 0, 0L); in OnReceiveMessage()
254 int nVariableMin = SendDlgItemMessage(hwnd, IDC_COMBO_VBRMIN, CB_GETCURSEL, 0, 0L); in OnReceiveMessage()
279 int nVariableMax = SendDlgItemMessage(hwnd, IDC_COMBO_VBRMAX, CB_GETCURSEL, 0, 0L); in OnReceiveMessage()
304 int nSampleRate = SendDlgItemMessage(hwnd, IDC_COMBO_SAMPLE_RATE, CB_GETCURSEL, 0, 0L); in OnReceiveMessage()
314 InitPropertiesDialog(hwnd); in OnReceiveMessage()
322 int nVBRq = SendDlgItemMessage(hwnd, IDC_COMBO_VBRq, CB_GETCURSEL, 0, 0L); in OnReceiveMessage()
336 m_pAEProps->set_PESOutputEnabled(IsDlgButtonChecked(hwnd, IDC_CHECK_PES)); in OnReceiveMessage()
341 m_pAEProps->set_CopyrightFlag(IsDlgButtonChecked(hwnd, IDC_CHECK_COPYRIGH in OnReceiveMessage()
[all...]
/third_party/skia/tools/sk_app/win/
H A DDawnD3D12WindowContext_win.cpp19 DawnD3D12WindowContext(HWND hwnd, const DisplayParams& params);
31 DawnD3D12WindowContext::DawnD3D12WindowContext(HWND hwnd, const DisplayParams& params) in DawnD3D12WindowContext() argument
33 , fWindow(hwnd) { in DawnD3D12WindowContext()
35 GetClientRect(hwnd, &rect); in DawnD3D12WindowContext()
60 std::unique_ptr<WindowContext> MakeDawnD3D12ForWin(HWND hwnd, in MakeDawnD3D12ForWin() argument
62 std::unique_ptr<WindowContext> ctx(new DawnD3D12WindowContext(hwnd, params)); in MakeDawnD3D12ForWin()
H A DVulkanWindowContext_win.cpp26 std::unique_ptr<WindowContext> MakeVulkanForWin(HWND hwnd, const DisplayParams& params) { in MakeVulkanForWin() argument
33 auto createVkSurface = [hwnd, instProc] (VkInstance instance) -> VkSurfaceKHR { in MakeVulkanForWin()
48 surfaceCreateInfo.hwnd = hwnd; in MakeVulkanForWin()
H A DD3D12WindowContext_win.cpp36 D3D12WindowContext(HWND hwnd, const DisplayParams& params);
68 D3D12WindowContext::D3D12WindowContext(HWND hwnd, const DisplayParams& params) in D3D12WindowContext() argument
70 , fWindow(hwnd) { in D3D12WindowContext()
244 std::unique_ptr<WindowContext> MakeD3D12ForWin(HWND hwnd, const DisplayParams& params) { in MakeD3D12ForWin() argument
245 std::unique_ptr<WindowContext> ctx(new D3D12WindowContext(hwnd, params)); in MakeD3D12ForWin()
/third_party/mesa3d/src/glx/windows/
H A Dwindowsgl.c96 HWND hwnd = CreateWindowExA(0, in windows_create_context() local
102 HDC hdc = GetDC(hwnd); in windows_create_context()
113 ReleaseDC(hwnd, hdc); in windows_create_context()
114 DestroyWindow(hwnd); in windows_create_context()
157 HWND hwnd = CreateWindowExA(0, in windows_create_context_attribs() local
163 HDC hdc = GetDC(hwnd); in windows_create_context_attribs()
174 ReleaseDC(hwnd, hdc); in windows_create_context_attribs()
175 DestroyWindow(hwnd); in windows_create_context_attribs()
311 HWND hwnd = CreateWindowExA(0, in windows_call_with_context() local
316 if (hwnd) { in windows_call_with_context()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A Dmain.cpp22 static INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument
30 SetWindowPos(hwnd, HWND_TOP, rect.right / 2, rect.bottom / 2, 0, 0, SWP_NOSIZE); in DebuggerWaitDialogProc()
31 SetTimer(hwnd, 1, 100, NULL); in DebuggerWaitDialogProc()
36 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
42 EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_win32.cpp45 // 2020-12-04: Misc: Fixed setting of io.DisplaySize to invalid/uninitialized data when after hwnd has been closed.
100 bool ImGui_ImplWin32_Init(void* hwnd) in ImGui_ImplWin32_Init() argument
118 bd->hWnd = (HWND)hwnd; in ImGui_ImplWin32_Init()
124 io.ImeWindowHandle = hwnd; in ImGui_ImplWin32_Init()
359 IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) in ImGui_ImplWin32_WndProcHandler() argument
371 bd->MouseHwnd = hwnd; in ImGui_ImplWin32_WndProcHandler()
374 TRACKMOUSEEVENT tme = { sizeof(tme), TME_LEAVE, hwnd, 0 }; in ImGui_ImplWin32_WndProcHandler()
380 if (bd->MouseHwnd == hwnd) in ImGui_ImplWin32_WndProcHandler()
395 ::SetCapture(hwnd); in ImGui_ImplWin32_WndProcHandler()
410 if (!ImGui::IsAnyMouseDown() && ::GetCapture() == hwnd) in ImGui_ImplWin32_WndProcHandler()
570 ImGui_ImplWin32_GetDpiScaleForHwnd(void* hwnd) ImGui_ImplWin32_GetDpiScaleForHwnd() argument
587 ImGui_ImplWin32_EnableAlphaCompositing(void* hwnd) ImGui_ImplWin32_EnableAlphaCompositing() argument
[all...]
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx10/
H A Dmain.cpp31 HWND hwnd = ::CreateWindow(wc.lpszClassName, _T("Dear ImGui DirectX10 Example"), WS_OVERLAPPEDWINDOW, 100, 100, 1280, 800, NULL, NULL, wc.hInstance, NULL); in main() local
34 if (!CreateDeviceD3D(hwnd)) in main()
42 ::ShowWindow(hwnd, SW_SHOWDEFAULT); in main()
43 ::UpdateWindow(hwnd); in main()
57 ImGui_ImplWin32_Init(hwnd); in main()
158 ::DestroyWindow(hwnd); in main()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx11/
H A Dmain.cpp31 HWND hwnd = ::CreateWindow(wc.lpszClassName, _T("Dear ImGui DirectX11 Example"), WS_OVERLAPPEDWINDOW, 100, 100, 1280, 800, NULL, NULL, wc.hInstance, NULL); in main() local
34 if (!CreateDeviceD3D(hwnd)) in main()
42 ::ShowWindow(hwnd, SW_SHOWDEFAULT); in main()
43 ::UpdateWindow(hwnd); in main()
57 ImGui_ImplWin32_Init(hwnd); in main()
159 ::DestroyWindow(hwnd); in main()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx9/
H A Dmain.cpp29 HWND hwnd = ::CreateWindow(wc.lpszClassName, _T("Dear ImGui DirectX9 Example"), WS_OVERLAPPEDWINDOW, 100, 100, 1280, 800, NULL, NULL, wc.hInstance, NULL); in main() local
32 if (!CreateDeviceD3D(hwnd)) in main()
40 ::ShowWindow(hwnd, SW_SHOWDEFAULT); in main()
41 ::UpdateWindow(hwnd); in main()
55 ImGui_ImplWin32_Init(hwnd); in main()
165 ::DestroyWindow(hwnd); in main()
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_framebuffer.c54 stw_framebuffer_from_hwnd_locked(HWND hwnd) in stw_framebuffer_from_hwnd_locked() argument
59 if (fb->hWnd == hwnd) { in stw_framebuffer_from_hwnd_locked()
190 debug_printf("%s: hwnd = %p\n", __FUNCTION__, fb->hWnd); in stw_framebuffer_get_size()
239 fb = stw_framebuffer_from_hwnd( pParams->hwnd ); in stw_call_window_proc()
251 fb = stw_framebuffer_from_hwnd_locked( pParams->hwnd ); in stw_call_window_proc()
422 HWND hwnd; in stw_framebuffer_from_hdc_locked() local
424 hwnd = WindowFromDC(hdc); in stw_framebuffer_from_hdc_locked()
425 if (!hwnd) { in stw_framebuffer_from_hdc_locked()
429 return stw_framebuffer_from_hwnd_locked(hwnd); in stw_framebuffer_from_hdc_locked()
458 stw_framebuffer_from_hwnd(HWND hwnd) in stw_framebuffer_from_hwnd() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dglobal_state.cpp257 INT_PTR CALLBACK DebuggerWaitDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) in DebuggerWaitDialogProc() argument
265 ::SetWindowPos(hwnd, HWND_TOP, rect.right / 2, rect.bottom / 2, 0, 0, SWP_NOSIZE); in DebuggerWaitDialogProc()
266 ::SetTimer(hwnd, 1, 100, NULL); in DebuggerWaitDialogProc()
271 ::EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
277 ::EndDialog(hwnd, 0); in DebuggerWaitDialogProc()
/third_party/lzma/CPP/Windows/Control/
H A DDialog.cpp119 WINUSERAPI HMONITOR WINAPI MonitorFromWindow(HWND hwnd, DWORD dwFlags);
125 static bool GetWorkAreaRect(RECT *rect, HWND hwnd) in GetWorkAreaRect() argument
127 if (hwnd) in GetWorkAreaRect()
138 const HMONITOR hmon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTOPRIMARY); in GetWorkAreaRect()
162 bool IsDialogSizeOK(int xSize, int ySize, HWND hwnd) in IsDialogSizeOK() argument
170 GetWorkAreaRect(&rect, hwnd); in IsDialogSizeOK()
230 HWND hwnd, DWORD dwAttribute, PVOID pvAttribute, DWORD cbAttribute);
232 static bool GetWindowsRect_DWM(HWND hwnd, RECT *rect)
244 if (f(hwnd, MY__DWMWA_EXTENDED_FRAME_BOUNDS, &r, sizeof(RECT)) == S_OK)
/third_party/lzma/CPP/7zip/UI/GUI/
H A DHashGUI.h24 void ShowHashResults(const CPropNameValPairs &propPairs, HWND hwnd);
25 void ShowHashResults(const CHashBundle &hb, HWND hwnd);

Completed in 12 milliseconds

1234