fix some stuff
This commit is contained in:
@@ -193,7 +193,7 @@ HWND CreateListView(HWND hWndParent, RECT rc)
|
||||
lviTestItem.iSubItem = 0;
|
||||
lviTestItem.state = 0;
|
||||
lviTestItem.stateMask = 0;
|
||||
lviTestItem.pszText = &szTestItem;
|
||||
lviTestItem.pszText = (LPWSTR)&szTestItem;
|
||||
lviTestItem.cchTextMax = MAXTITLELEN;
|
||||
// lviTestItem.iImage = 1;
|
||||
|
||||
|
||||
@@ -26,6 +26,18 @@
|
||||
#define GRP_FLAG_MAXIMIZED 0x00000008
|
||||
|
||||
/* Structures */
|
||||
// Item Structure
|
||||
typedef struct _ITEM {
|
||||
// Item executable and name
|
||||
WCHAR szItemName[MAX_TITLE_LENGTH];
|
||||
WCHAR szExecPath[MAX_PATH]; // Path of the item executable
|
||||
WCHAR szWorkPath[MAX_PATH]; // Working directory
|
||||
|
||||
// Icon
|
||||
WCHAR szIconPath[MAX_PATH]; // Path of the icon
|
||||
UINT uiIconIndex; // Index of the icon
|
||||
} ITEM, * PITEM;
|
||||
|
||||
// Group format, .GRP
|
||||
typedef struct _GROUP {
|
||||
// Group file header
|
||||
@@ -53,18 +65,6 @@ typedef struct _GROUPWND {
|
||||
HANDLE hGroup; // Handle to GROUP object
|
||||
} GROUPINFO, * PGROUPINFO;
|
||||
|
||||
// Item Structure
|
||||
typedef struct _ITEM {
|
||||
// Item executable and name
|
||||
WCHAR szItemName[MAX_TITLE_LENGTH];
|
||||
WCHAR szExecPath[MAX_PATH]; // Path of the item executable
|
||||
WCHAR szWorkPath[MAX_PATH]; // Working directory
|
||||
|
||||
// Icon
|
||||
WCHAR szIconPath[MAX_PATH]; // Path of the icon
|
||||
UINT uiIconIndex; // Index of the icon
|
||||
} ITEM, * PITEM;
|
||||
|
||||
/* Function Prototypes */
|
||||
LRESULT CALLBACK GroupWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
HWND TempCreateGroup(HWND hMDIClient);
|
||||
|
||||
Reference in New Issue
Block a user