N
N
Nik_Haker2015-05-24 20:42:33
Programming
Nik_Haker, 2015-05-24 20:42:33

Adjusting the appearance of the program to the OS?

It is necessary that the program written in C ++ builder 6, which by default has a wretched appearance of the Windows 95 style, adapts to the OS, as all programs do (launched the program on win 8 - all buttons are square, launched on 7 - all buttons are rounded)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Makarov, 2015-05-24
@Nik_Haker

You do not need to receive anything and adjust yourself. You need to add an XML manifest in the form of an external adjacent file or directly to the executable as a resource, which will declare the compatibility of the application with a newer version of Windows. Without this manifest, the application is considered incompatible, so only old-school controls are used for it (you never know, suddenly the application is written in such a way that it will work crookedly with new styles?). More details: https://msdn.microsoft.com/en-us/library/bb773175.aspx
If you want to see for yourself how it works - take ResHacker and rip any modern executable, this manifest will be in the 24\1 resource.

D
dordzhiev, 2015-05-24
@dordzhiev

Write the manifesto and that's it.
https://msdn.microsoft.com/en-us/library/windows/d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question