clock: Enable visual styles.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
619bd1867a
commit
af242e43cb
|
@ -1,5 +1,5 @@
|
|||
MODULE = clock.exe
|
||||
IMPORTS = comdlg32 shell32 user32 gdi32
|
||||
IMPORTS = comdlg32 shell32 user32 gdi32 comctl32
|
||||
|
||||
EXTRADLLFLAGS = -mwindows -mno-cygwin
|
||||
|
||||
|
|
|
@ -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.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;
|
||||
|
|
Loading…
Reference in New Issue