135 if (
group->bIsCommonGroup)
246 lvItem.
iItem = iItem;
259 lvItem.
iItem = iItem;
300 group->hDragImageList = hTempImageList;
324 if (
group->bDragging)
334 if (
group->bDragging)
439 BOOL bSuppressShowWindow)
454 WndPl.
length =
sizeof(WndPl);
461 L"%d %d %d %d %d %d %d %n",
474 GroupFileName = &lpszGrpFile[
skip];
486 GroupFileName = lpszGrpFile;
498 GroupFileName = lpszGrpFile;
514 GroupFileName = lpszGrpFile;
520 if (!hGroup || !hName || !hGrpFile)
523 if (hGroup)
Free(hGroup);
524 if (hName)
Free(hName);
525 if (hGrpFile)
Free(hGrpFile);
538 if (hPrior->
seqnum >= seqnum)
539 seqnum = hPrior->
seqnum + 1;
547 hGroup->
hName = hName;
558 hGroup->
iconx = cxIcon;
559 hGroup->
icony = cyIcon;
566 mcs.szTitle = lpszName;
580 if (!bSuppressShowWindow)
629 if (
Globals.hActiveGroup == hGroup)
static struct myctx * mcs
#define IDS_OUT_OF_MEMORY
BOOL DIALOG_GroupAttributes(GROUPFORMAT format, LPWSTR lpszTitle, LPWSTR lpszGrpFile, INT nSize)
HRESULT(WINAPI * ETDTProc)(HWND, DWORD)
HRESULT WINAPI EnableThemeDialogTexture(_In_ HWND hwnd, _In_ DWORD dwFlags)
VOID GROUP_ShowGroupWindow(PROGGROUP *hGroup)
PROGGROUP * GROUP_AddGroup(GROUPFORMAT format, BOOL bIsCommonGroup, LPCWSTR lpszName, LPCWSTR lpszGrpFile, INT left, INT top, INT right, INT bottom, INT xMin, INT yMin, INT nCmdShow, WORD cxIcon, WORD cyIcon, BOOL bOverwriteFileOk, BOOL bSuppressShowWindow)
ATOM GROUP_RegisterGroupWinClass(VOID)
HRESULT WINAPI SetWindowTheme(_In_ HWND hwnd, _In_ LPCWSTR pszSubAppName, _In_ LPCWSTR pszSubIdList)
static LRESULT CALLBACK GROUP_GroupWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static SWTProc fnSetWindowTheme
static BOOL InitUxTheme(VOID)
VOID GROUP_ModifyGroup(PROGGROUP *hGroup)
VOID GROUP_DeleteGroup(PROGGROUP *hGroup)
HRESULT(WINAPI * SWTProc)(HWND, LPCWSTR, LPCWSTR)
VOID GROUP_NewGroup(GROUPFORMAT format, BOOL bIsCommonGroup)
static ETDTProc fnEnableThemeDialogTexture
PROGGROUP * GROUP_ActiveGroup(VOID)
INT MAIN_MessageBoxIDS(UINT ids_text, UINT ids_title, WORD type)
VOID MAIN_ReplaceString(LPWSTR *string, LPWSTR replace)
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
CLIPBOARD_GLOBALS Globals
VOID WINAPI ImageList_EndDrag(void)
BOOL WINAPI ImageList_DragEnter(HWND hwndLock, INT x, INT y)
BOOL WINAPI ImageList_DragMove(INT x, INT y)
BOOL WINAPI ImageList_DragLeave(HWND hwndLock)
BOOL WINAPI ImageList_Destroy(HIMAGELIST himl)
HIMAGELIST WINAPI ImageList_Merge(HIMAGELIST himl1, INT i1, HIMAGELIST himl2, INT i2, INT dx, INT dy)
BOOL WINAPI ImageList_BeginDrag(HIMAGELIST himlTrack, INT iTrack, INT dxHotspot, INT dyHotspot)
HIMAGELIST WINAPI ImageList_Create(INT cx, INT cy, UINT flags, INT cInitial, INT cGrow)
#define GetProcAddress(x, y)
#define INVALID_HANDLE_VALUE
#define FILE_ATTRIBUTE_NORMAL
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLdouble GLdouble GLdouble GLdouble top
DWORD GRPFILE_ReadGroupFile(LPCWSTR lpszPath, BOOL bIsCommonGroup)
BOOL GRPFILE_WriteGroupFile(PROGGROUP *hGroup)
_Check_return_ _CRTIMP int __cdecl swscanf(_In_z_ const wchar_t *_Src, _In_z_ _Scanf_format_string_ const wchar_t *_Format,...)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
TCHAR szTitle[MAX_LOADSTRING]
#define memcpy(s1, s2, n)
#define DEF_GROUP_WIN_HEIGHT
#define DEF_GROUP_WIN_XPOS
VOID PROGRAM_DeleteProgram(PROGRAM *hProgram, BOOL bUpdateGrpFile)
VOID PROGRAM_ExecuteProgram(PROGRAM *hProgram)
enum _GROUPFORMAT GROUPFORMAT
#define DEF_GROUP_WIN_YPOS
#define DEF_GROUP_WIN_WIDTH
#define STRING_GROUP_WIN_CLASS_NAME
#define LVM_CREATEDRAGIMAGE
#define LVS_EX_SNAPTOGRID
#define LVM_GETITEMPOSITION
#define LVS_SHOWSELALWAYS
#define LVM_SETITEMPOSITION
struct _IMAGELIST * HIMAGELIST
#define LVS_EX_BORDERSELECT
struct tagNMITEMACTIVATE * LPNMITEMACTIVATE
struct tagNMLISTVIEW * LPNMLISTVIEW
#define LVM_GETEXTENDEDLISTVIEWSTYLE
#define LVM_SETICONSPACING
#define LVM_SETEXTENDEDLISTVIEWSTYLE
_CRTIMP wchar_t *__cdecl wcsncpy(wchar_t *_Dest, const wchar_t *_Source, size_t _Count)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
DWORD WINAPI GetLastError(void)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
#define HRESULT_FROM_WIN32(x)
HCURSOR WINAPI GetCursor(void)
HWND WINAPI SetCapture(_In_ HWND hWnd)
struct tagMDICREATESTRUCTW * LPMDICREATESTRUCTW
#define GetWindowLongPtrW
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI ReleaseCapture(void)
#define LR_COPYFROMRESOURCE
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
BOOL WINAPI AdjustWindowRectEx(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL, _In_ DWORD)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HCURSOR WINAPI SetCursor(_In_opt_ HCURSOR)
LRESULT WINAPI DefMDIChildProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HCURSOR WINAPI LoadCursorW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
HANDLE WINAPI CopyImage(_In_ HANDLE, _In_ UINT, _In_ int, _In_ int, _In_ UINT)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI UpdateWindow(_In_ HWND)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
#define MAKEINTRESOURCEW(i)
#define SetWindowLongPtrW
BOOL WINAPI SetWindowPlacement(_In_ HWND hWnd, _In_ const WINDOWPLACEMENT *)
BOOL WINAPI DestroyWindow(_In_ HWND)
#define WPF_SETMINPOSITION
struct tagCREATESTRUCTW * LPCREATESTRUCTW
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
int WINAPI GetSystemMetrics(_In_ int)
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free