more dialoggery

This commit is contained in:
freedom
2023-08-14 14:40:01 -06:00
parent f8578360f8
commit 488070e73d
5 changed files with 4 additions and 3 deletions

View File

@@ -62,8 +62,9 @@ typedef struct _GROUP {
// Group window information
typedef struct _GROUPWND {
// Window
// Windows
HWND hWndGroup;
HWND hWndListView;
// Group
PGROUP pGroup; // Pointer to GROUP structure
} GROUPWND, * PGROUPWND;

Binary file not shown.

Binary file not shown.

View File

@@ -126,7 +126,7 @@ DWORD SaveGroupToRegistry(_In_ PGROUP pg)
return RCE_FAILURE;
// Save group
if (!RegSetValueEx(hKeyProgramGroups, pg->szGroupName, 0, REG_BINARY,
if (!RegSetValueEx(hKeyProgramGroups, pg->szName, 0, REG_BINARY,
(const BYTE*)pg, (sizeof(*pg) + sizeof(ITEM) * pg->cItems)) == ERROR_SUCCESS)
dwConfigStatus = dwConfigStatus && RCE_GROUPS;
@@ -149,7 +149,7 @@ DWORD LoadGroupFromRegistry(_Inout_ PGROUP pg, _Out_ DWORD dwBufferSize)
return RCE_FAILURE;
// Load group
if (!RegQueryValueEx(hKeyProgramGroups, pg->szGroupName, 0, &dwType,
if (!RegQueryValueEx(hKeyProgramGroups, pg->szName, 0, &dwType,
(LPBYTE)pg, &dwBufferSize) == ERROR_SUCCESS)
dwConfigStatus = dwConfigStatus && RCE_POSITION;

Binary file not shown.