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, 18:43
RE: gbClientCapture (Discussion) - by Jules Marchildon - 21.09.2025, 00:11

Forum Jump:


Users browsing this thread: 1 Guest(s)