Commit d271efe0 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

view: Enable visual styles.

parent 3058bac5
MODULE = view.exe
IMPORTS = comdlg32 user32 gdi32
IMPORTS = comdlg32 user32 gdi32 comctl32
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
......
......@@ -17,6 +17,7 @@
*/
#include <windef.h>
#include <winuser.h>
#define IDS_DESCRIPTION 2
#define IDS_OPEN_META_STRING 3
......
......@@ -17,6 +17,7 @@
*/
#include <windows.h>
#include <commctrl.h>
#include <commdlg.h>
#include <stdio.h>
......@@ -403,6 +404,8 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
{
MSG msg;
InitCommonControls();
/* Other instances of app running? */
if (!hPrevInstance)
{
......
<?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.View" 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>
......@@ -48,3 +48,6 @@ BEGIN
IDS_DESCRIPTION "Regular Metafile Viewer"
IDS_OPEN_META_STRING "Metafiles (*.wmf, *.emf)"
END
/* @makedep: view.manifest */
1 RT_MANIFEST view.manifest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment