|Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread|
|Messages 1 to 2 of 2 total|
|Odd Windows 10 problem.|
|Fri, Oct 25 2019 8:36 PM||Permanent Link|
I noticed an issue with a D2007 app that I have when run in Windows 10. If I run the application then create a dialog and then close down the dialog, not the main form. if I then hover over the taskbar icon it still looks ok, but if I move the mouse into the thumbnail, the previously closed down dialog box appears in front of my main form.
I thougth I would check and this also happens in DBISam utilities. If you open up for instance the server manager, the click on the options menu to bring up the dialog then close it down, hover over the taskbar and enter the thumbnail, it shows the options dialog as well as the main form.
I also tried this in 10.3 Rio and it hasn't been fixed since then. I can understand D2007 as it pre-dates Windows 10, but surprised it still happens in 10.3
In my app I was missing the MainFormOnTaskbar as my app had previously been made in D2006. I tried putting the line in before the main form is called (reccomended location), but it had no effect. I then moved the line to immediately after the main form is created and it seemed to work, however doing so appears to be against all advise I have read online regarding the use of this function.
I also found that in a dialog, if I create a CreateParm like this "Params.WndParent: application.mainform.Handle;" then that seems to work as well, but oddly enough, no changes are being made in that statement, the handle WndParent has when this code is run stays the same, but the mere existence of this code appears to fix the above issue.
Not only do you get to see a closed dialog, but there appears to be multiple outlines of windows on the page kind of like ghost images. I am assuming something to do with the invisible main form that Delphi creates for each application.
Anyone got any advise on this? Might be useful for you Tim in a future update to the utils. Not a critical issue, as everything seems to work, but just looks ugly.
|Mon, Dec 9 2019 1:14 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< Anyone got any advise on this? Might be useful for you Tim in a future update to the utils. Not a critical issue, as everything seems to work, but just looks ugly. >>
I'm going to be updating the DBISAM utilities/servers in the coming 2020 year, so I will take a look then and see what I can do.