Archived
tries :(
This commit is contained in:
1 parent
9af150a454
commit
7aef36936d
2 files changed
+8
No files matched your search
@@ -120,6 +120,7 @@
|
|||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>uxtheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
//INCLUDES
|
//INCLUDES
|
||||||
#include "EzWinAPIBuilders.h"
|
#include "EzWinAPIBuilders.h"
|
||||||
#include <ShlObj.h>
|
#include <ShlObj.h>
|
||||||
|
//#include <uxtheme.h>
|
||||||
|
|
||||||
//GLOBAL VARS
|
//GLOBAL VARS
|
||||||
MSG msg;
|
MSG msg;
|
||||||
@@ -28,6 +29,12 @@ int WINAPI WinMain(HINSTANCE currentInst, HINSTANCE previousInst, LPSTR lpCmdLin
|
|||||||
HWND mainWindow = EzCreateWindow(windowClass,currentInst,L"Easy Audio Player", WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX, 400, 600, NULL);
|
HWND mainWindow = EzCreateWindow(windowClass,currentInst,L"Easy Audio Player", WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX, 400, 600, NULL);
|
||||||
ShowWindow(mainWindow, nCmdShow);
|
ShowWindow(mainWindow, nCmdShow);
|
||||||
UpdateWindow(mainWindow);
|
UpdateWindow(mainWindow);
|
||||||
|
/*SetWindowTheme(mainWindow, L" ", NULL);*/
|
||||||
|
/*NONCLIENTMETRICS ncm;
|
||||||
|
ncm.cbSize = sizeof(NONCLIENTMETRICS);
|
||||||
|
SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &ncm, 0);
|
||||||
|
HFONT systemFont = CreateFontIndirect(&ncm.lfMessageFont);
|
||||||
|
SendMessage(mainWindow, WM_SETFONT, (WPARAM)systemFont, MAKELPARAM(TRUE, 0));*/
|
||||||
|
|
||||||
while (GetMessage(&msg, NULL, 0, 0)) {
|
while (GetMessage(&msg, NULL, 0, 0)) {
|
||||||
TranslateMessage(&msg);
|
TranslateMessage(&msg);
|
||||||
|
|||||||
Reference in new issue
Block a user