gbClientCapture (Discussion)
#3
I was looking at the resizing cursor issue.  For sure the transparency is messing with the WM_NCHITTEST 'ing for the borders and the status bar grip sizer.   For giggles I reverted back to the classic frame, but this introduced flicker issues with your toolbar.    

Added  %WM_CLIPCHILDREN to your dialog and under WM_INITDIALOG... 
Code:
'-disable DWM non-client rendering for classic borders
         LOCAL policy AS LONG
         policy = %DWMNCRP_DISABLED
         LOCAL lReturn AS LONG
         CALL DwmSetWindowAttribute(hDlg, %DWMWA_NCRENDERING_POLICY, BYVAL VARPTR(policy), 4)
         '-force frame redraw to apply changes
         SetWindowPos hDlg, 0, 0, 0, 0, 0, %SWP_FRAMECHANGED OR %SWP_NOMOVE OR %SWP_NOSIZE OR %SWP_NOZORDER
         RedrawWindow hDlg, BYVAL 0, BYVAL 0, %RDW_FRAME OR %RDW_INVALIDATE         

I tried adding a double buffer to your toolbar drawing but no luck so far reducing the flicker while resizing.
Reply


Messages In This Thread
gbClientCapture (Discussion) - by Gary Beene - 20.09.2025, 07:43 PM
RE: gbClientCapture (Discussion) - by Jules Marchildon - 21.09.2025, 01:11 AM
RE: gbClientCapture (Discussion) - by Gary Beene - 21.09.2025, 04:45 AM
RE: gbClientCapture (Discussion) - by Gary Beene - 21.09.2025, 07:44 AM
RE: gbClientCapture (Discussion) - by Gary Beene - 21.09.2025, 09:14 PM
RE: gbClientCapture (Discussion) - by Gary Beene - 22.09.2025, 02:19 AM
RE: gbClientCapture (Discussion) - by Gary Beene - 22.09.2025, 10:52 PM
RE: gbClientCapture (Discussion) - by Gary Beene - 23.09.2025, 02:17 AM
RE: gbClientCapture (Discussion) - by Gary Beene - 23.09.2025, 06:11 AM
RE: gbClientCapture (Discussion) - by Gary Beene - 24.09.2025, 04:35 PM
RE: gbClientCapture (Discussion) - by Gary Beene - 26.09.2025, 04:59 AM
RE: gbClientCapture (Discussion) - by Gary Beene - 28.09.2025, 05:35 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)