tons of stuff here, most importantly now displays the username in the titlebar like old progman

This commit is contained in:
freedom
2023-07-20 01:27:45 -06:00
parent 2b21acce36
commit 78410609a9
9 changed files with 83 additions and 30 deletions

View File

@@ -12,6 +12,7 @@
#pragma comment(linker,"\"/manifestdependency:type='win32' \
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#pragma comment(lib, "Secur32.lib")
/* Includes */
#include <wtypes.h>
@@ -33,9 +34,10 @@ processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
/* Global Variables */
// PROGMGR.C
extern BOOL bIsDefaultShell;
extern HICON hProgMgrIcon;
extern HINSTANCE hAppInstance;
extern HWND hwndProgMgr;
extern HWND hwndMDIClient;
extern HWND hWndProgMgr;
extern HWND hWndMDIClient;
extern WCHAR szAppTitle[32];
extern WCHAR szProgMgr[];
extern WCHAR szWebsite[64];
@@ -46,4 +48,4 @@ BOOL RunFile(HWND hWndOwner, HICON hIcon, LPWSTR lpszDir, LPWSTR lpszTitle, LPWS
BOOL ShutdownDlg(HWND hWndOwner);
// WNDPROC.C
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK CmdProc(HWND hWnd, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK CmdProc(HWND hWnd, WPARAM wParam, LPARAM lParam);