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

clock: Enable visual styles.

parent 619bd186
MODULE = clock.exe
IMPORTS = comdlg32 shell32 user32 gdi32
IMPORTS = comdlg32 shell32 user32 gdi32 comctl32
EXTRADLLFLAGS = -mwindows -mno-cygwin
......
<?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.Clock" 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>
......@@ -49,3 +49,6 @@ STRINGTABLE
{
IDS_CLOCK, "Clock"
}
/* @makedep: clock.manifest */
1 RT_MANIFEST clock.manifest
......@@ -17,6 +17,7 @@
*/
#include <windef.h>
#include <winuser.h>
#define MAIN_MENU 0x100
#define IDM_ANALOG 0x101
......
......@@ -26,6 +26,7 @@
#include <stdio.h>
#include "windows.h"
#include "commctrl.h"
#include "commdlg.h"
#include "shellapi.h"
......@@ -389,6 +390,8 @@ int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show
MSG msg;
WNDCLASSW class;
InitCommonControls();
/* Setup Globals */
memset(&Globals.hFont, 0, sizeof (Globals.hFont));
Globals.bAnalog = TRUE;
......
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