desktop rewrite coming soon

This commit is contained in:
freedom7341
2023-09-18 11:13:16 -06:00
parent b8466d176b
commit 6943fc563b
3 changed files with 43 additions and 0 deletions

39
progmgr/desktop2.c Normal file
View File

@@ -0,0 +1,39 @@
/* * * * * * * *\
DESKTOP2.C -
Copyright (c) 2023 Vortesys
DESCRIPTION -
Program Manager's desktop window.
Displays running programs.
LICENSE INFORMATION -
MIT License, see LICENSE.txt in the root folder
\* * * * * * * */
/* Headers */
#include "progmgr.h"
#include <Windows.h>
/* Structures */
typedef struct _DPI
{
HWND hWnd;
HICON hIcon;
DWORD dwFlags;
} DPI, * PDPI;
/* * * *\
CreateDesktopWindow2 -
Creates the desktop window.
RETURNS -
TRUE if created successfully,
FALSE if otherwise.
\* * * */
BOOL CreateDesktopWindow2(VOID)
{
// TODO:
// Create window, resize it to the size of the screen
// possibly create child windows for other monitors
// color the window invisible, get list of running
// programs and then draw them all and capture their
// system menus as context menus for each icon.
return TRUE;
}

View File

@@ -174,6 +174,7 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="desktop.c" />
<ClCompile Include="desktop2.c" />
<ClCompile Include="dialog.c" />
<ClCompile Include="progmgr.c" />
<ClCompile Include="registry.c" />

View File

@@ -59,6 +59,9 @@
<ClCompile Include="dialog.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="desktop2.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="resource.rc">