X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b69f1bd1862481d4c10ca2c67e871ff5642ae2ee..3f55f5b81fbe7a2294912663c192113209bbc930:/docs/msw/winxp.txt diff --git a/docs/msw/winxp.txt b/docs/msw/winxp.txt new file mode 100644 index 0000000000..b584381ab5 --- /dev/null +++ b/docs/msw/winxp.txt @@ -0,0 +1,62 @@ +Microsoft Windows XP Support from wxWindows 2.3.2 +------------------------------------------------- + +Windows XP introduces the themes (called "visual styles" in the Microsoft +documentation) in Windows world. As wxWindows uses the standard Windows +controls for most of its classes, it can take advantage of it without +(almost) any effort from your part. The only thing you need to do if you +want your program to honour the visual style setting of Windows XP is to +add the manifest file to your program (this is not at all specific to +wxWindows programs but is required for all Windows applications). + + +For your convenience, below is an example manifest. It should be put in a +file called "yourapp.exe.manifest" and put in the same directory where +"yourapp.exe" resides. Alternatively, you can include the manifest in your +applications resource section. Please see the MSDN documentation at + +http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp + +for more details. + + +Here is the example manifest which you can put into controls.exe.manifest +file to test theme support using the controls sample: + +--- cut here --- + + + +Controls: wxWindows sample application + + + + + + +--- cut here --- + + +There are a few minor problems with theme support in wxWindows currently +which will be fixed in the next releases: + +- the buttons with non-default colours are owner-drawn and thus don't + follow the visual style look but always have the default 3D look of + the previous Windows versions - don't change the buttons colours if + you want them to look nicely under Windows XP + +- wxCheckListBox control doesn't have the same appearance as the native + checkboxes in Windows XP +