gbClientCapture (Discussion)
#12
Howdy, Jules!

Yes, I see that too.

Playing with it, I noticed that the entire restored dialog is transparent - not just the "hole".

Can we detect when the dialog is restored, then take action?  

This code detects when the app restores so perhaps we can add something there to reset the dialog?

This seems to work - by restarting the app after a restore takes place.  It's a bit of a sledge-hammer approach, but does seem to work. Surely there is a feather-touch solution!

Code:
Do this ...

  Dialog Show Modal hDlg, Call DlgMain
  If Restart Then pID = Shell(Exe.Full$,1)  'restart the app


And this ...

      Case %WM_SysCommand
         Select Case Cb.WParam
            Case %SC_Restore
               Restart = 1
               Dialog End hDlg
         End Select

The message WM_WINDOWPOSCHANGING might be another place where we can detect a restore.
Reply


Messages In This Thread
gbClientCapture (Discussion) - by Gary Beene - 20.09.2025, 07:43 PM
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)