>>>I wonder if there is a way to change this behavior:
>>>
>>>When working in the VFP IDE, the _SCREEN shows the Windows 10 style caption (light coloured title bar, minimize,maximize and close buttons transparent).
>>>
>>>But when compiling the executable and running the application from the exe, the title bar shows the Windows 7 or XP style: blue background etc.
>>>
>>>Perhaps I am missing a property?
>>
>>Do you get the same behavior with a "bare-bones" program (e.g. a simple modal dialog box on FoxPro main window) to see if you get the same effect?
>>
>>Are you using an application framework? This may have an effect on appearance and behavior.
>>
>>Make sure that the EXE isn't named such that Windows may mistake it for an installation program (e.g. avoid filenames like install.exe or setup.exe).
>
>That was a great idea. Indeed with this approach (same config.fpw, but then only _SCREEN.Visible = .T. and messagebox) it shows the correct _SCREEN layout.
>
>So now I need to figure out where the difference is in settings or something else. But now I can go step by step adding the settings that lead to the change.
Christian,
I have the same behavior in my application. After experimenting, I've determined for me the cause of the problem was a settings in the CONFIG.FPW I had the command "screen=off". The this command allows a splash screen to appear with the user's desktop as a background instead of a form at program launch .
When this is command is removed, or the file removed entirely from the program's folder, the Windows 10 desktop appears as desired.
Not sure how to have both -- i.e. a splash screen that appears as desired and the standard Win 10 look. If someone knows, please chime in.
Dave
Dave