oleview: Enable visual styles.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-06-10 11:03:42 +08:00 committed by Alexandre Julliard
parent 026a6ff2be
commit e1033e9253
3 changed files with 22 additions and 0 deletions

View File

@ -19,6 +19,7 @@
*/
#include "main.h"
#include "commctrl.h"
#include "commdlg.h"
#include "shellapi.h"
@ -554,6 +555,8 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int
MSG msg;
HANDLE hAccelTable;
InitCommonControls();
if(!InitApplication(hInst))
return FALSE;

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="Wine.Oleview" version="0.0.0.0"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

View File

@ -222,5 +222,8 @@ IDA_OLEVIEW ACCELERATORS
VK_F5, IDM_REFRESH, VIRTKEY
}
/* @makedep: oleview.manifest */
1 RT_MANIFEST oleview.manifest
/* @makedep: toolbar.bmp */
IDB_TOOLBAR BITMAP toolbar.bmp