Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhaz.h
[詳解]
1/*************************************************************************/
6#pragma once
7
8#include "altstr.hpp"
9#include "path.h"
10#include <windows.h>
11#include "myfile.h"
12#include "mywindow.h"
13#include "lhazarc.h"
14#include "lhazfiletree.h"
15#include "lhazprocfile.h"
16#include "lhazregs.h"
17#include "lhazsfx.h"
18#include "passwordif.h"
19#include "resource.h"
20
21class ARCHIVES;
22class LHAZEDIT;
23class LHAZHIST;
24class LHAZPRG;
25class LHAZSTS;
26class LHAZTAB;
27class MYREGISTORY;
28class MYPANEL;
29
30namespace gui {
31
32class LHAZLISTVIEW;
33class LHAZTREEVIEW;
34
35} // namespace gui
36
37#ifdef SPEED
38extern DWORD tick;
39#define LHAZSTART (tick = ::GetTickCount())
40#else // SPEED
41#define LHAZSTART
42#endif // !SPEED
43
44/*************************************************************************/
47class LHAZ {
48public:
49 enum {
52 };
62 enum {
66 };
67 enum {
68 WM_DRAGDROP = WM_APP + 100,
79 };
80 //
81 struct OPENFILTER {
83 UINT id;
84 const TCHAR* ext;
85 };
86 //
87 typedef INT_PTR CALLBACK TDLGPROC(HWND, UINT, WPARAM, LPARAM);
88 //
89 static const TCHAR LHAZVER[];
90 static const TCHAR LHAZREG[];
91
92 static const TCHAR BZ2EXT[];
93 static const TCHAR CABEXT[];
94 static const TCHAR GZIPEXT[];
95 static const TCHAR LZ4EXT[];
96 static const TCHAR LZHEXT[];
97 static const TCHAR RAREXT[];
98 static const TCHAR SZIPEXT[];
99 static const TCHAR TAREXT[];
100 static const TCHAR TBZEXT[];
101 static const TCHAR TGZEXT[];
102 static const TCHAR TXZEXT[];
103 static const TCHAR XZEXT[];
104 static const TCHAR LZMAEXT[];
105 static const TCHAR ZIPEXT[];
106 static const TCHAR ZSTDEXT[];
107 static const TCHAR TZSTEXT[];
108
109 static const TCHAR LHAZARCHIVELZH[];
110 static const TCHAR LHAZARCHIVEZIP[];
111 static const TCHAR LHAZARCHIVECAB[];
112 static const TCHAR LHAZARCHIVETGZ[];
113 static const TCHAR LHAZARCHIVETAR[];
114 static const TCHAR LHAZARCHIVEGZIP[];
115 static const TCHAR LHAZARCHIVETBZ[];
116 static const TCHAR LHAZARCHIVEBZ2[];
117 static const TCHAR LHAZARCHIVERAR[];
118 static const TCHAR LHAZARCHIVE7ZIP[];
119 static const TCHAR LHAZARCHIVEXZ[];
120 static const TCHAR LHAZARCHIVETXZ[];
121
122 static const TCHAR DROPBOX_KEY[];
123 static const TCHAR DROPBOX_SECRET[];
124 static const TCHAR GOOGLEDRIVE_KEY[];
125 static const TCHAR GOOGLEDRIVE_SECRET[];
126 static const TCHAR ONEDRIVE_CLIENT_ID[];
127 //
128 static void CompressThread(void* param);
129 static void ExtractGrepThread(void* param);
130 static void ExtractViewThread(void* param);
131 static INT_PTR CALLBACK DialogEncPass(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
132 static INT_PTR CALLBACK DialogZipEncPass(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
133 static INT_PTR CALLBACK DialogSFX(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
134 static UINT_PTR CALLBACK OFNHookProcComp(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
135 //
136 LHAZ(void);
137 ‾LHAZ(void);
138 //
139 void AddHistory(const WSTR& name);
140 void AddPassword(const WSTR& pswd);
141 bool Check4GB(ARCHIVE::TYPE type, vector<LHAZPROCFILE>& files);
142 bool CheckOverWriteArc(const WSTR& name);
143 void DisableAccelerator(void) { m_enableaccl = false; }
144 void DispCount(int s, LONGLONG t, bool selected);
145 void DispName(const WSTR& name);
146 int DoOverWrite(const WSTR& name, bool& force, bool& skip);
147 bool DownloadDB(void) const;
148 bool DownloadGD(void) const;
149 bool DownloadOD(void) const;
150 void EnableAccelerator(void) { m_enableaccl = true; }
151 void EnableMenu(int extract);
152 HANDLE ExecViewer(const WSTR& viewer, const WSTR& file);
153 void Exit(void);
154 void ExtractFile(const WSTR& file);
155 void ExtractOle(void);
156 void ExtractView(bool chdirsw);
157 WSTR GetArchiveName(const WSTR& curdir, std::vector<LHAZPROCFILE>& files, ARCHIVE::TYPE& type, UINT id);
158 const OPENFILTER* GetCompFilter(void) const { return CompFilter; }
159 bool GetDandD(void) const { return DandD; }
160 TDLGPROC* GetDialogPass(void) const { return &DialogPass; }
161 int GetError(void) { return Error; }
162 HWND GetHwnd(void) const { return LhazWnd; }
163 HINSTANCE GetInstance(void) const { return Instance; }
164 LHAZEDIT* GetLhazEdit(void) const { return LhazEdit; }
165 HWND GetLVWnd(void) const { return LVWnd; }
166 HMENU GetMenu(void) const { return Menu; }
167 const TCHAR* GetPassword(void) { return Password.CStr(); }
168 bool GetPopChange(void) const { return PopChange; }
169 LHAZPRG* GetPrgrs(void) const { return Prgrs; }
170 bool GetSelecting(void) const { return Selecting; }
171 LHAZSFX* GetSfx(void) { return &Sfx; }
172 int GetSortKind(void);
173 int GetSortRev(void) const { return SortRev; }
174 STATUS GetStatus(void) const { return Status; }
175 bool GetStop(void) const { return m_userstopped; }
176 LHAZSTS* GetStsBar(void) const { return StsBar; }
177 LHAZTAB* GetTab(void) const { return Tab; }
178 const PATH& GetTempName(void) const { return TempName; }
179 bool GetVerify(void) const { return Verify; }
180 bool Init(HINSTANCE hins, LPTSTR lpCmdLine);
181 bool MakeExtMember(LONGLONG& ext_total_size);
182 bool OpenArchive(WSTR name, bool add_or_new, bool rechis = true);
183 BOOL PopupExtMenu(bool view);
184 void Progress(unsigned int);
185 void ProgressAbs(LONGLONG);
186 int Run(void);
187 bool SelectFolder(const WSTR& init_dir, WSTR& selected_dir);
188 void SelectLocalTab(void);
189 void SetArchiveName(const WSTR& n) { ArchiveName = n; }
190 void SetDandD(bool b) { DandD = b; }
191 void SetDestDir(const WSTR& s) { DestDir = s; }
192 void SetError(int err) { Error = err; }
193 void SetExtIndex(const std::vector<int> &v);
194 void SetFiles(const std::vector<LHAZPROCFILE>& files) { Files = files; }
195 void SetLhazEdit(LHAZEDIT* e) { LhazEdit = e; }
196 void SetMeltedSize(LONGLONG size);
197 void SetPasswordIF(const PASSWORD_IF& p) { PasswordIF = p; }
198 void SetStatus(STATUS s) { Status = s; }
199 void SetStop(bool f) { m_userstopped = f; }
200 void SetStsBarText(const WSTR& mes);
201 void SetTotalSize(LONGLONG size);
202 void SetWindowTextSub(bool fullpath, const WSTR& p);
203 void ShowProgressBar(bool b);
204 void UpdateShell(bool, const WSTR& p);
205
206private:
208 enum { e_LHAZ_HPANEL_DX = 194 };
210 //
211 enum SMENUPOS {
212// [ファイル]
213#ifdef FEATURE_V3
214 LHAZARCHISTPOS = 5,
215#else
217#endif
218// [編集]
220// [ツール]
222 };
224 enum MODE { SINGLE, MULTI };
225 //
227 UINT wID;
228 UINT uID;
229 const TCHAR* format;
232 };
233 struct DIVPARAM { /* 分割スレッド用パラメータ */
234 HWND hwnd;
235 WSTR dst;
236 WSTR src;
237 unsigned long size;
238 };
239 //
240 static const MYFILE::OPENFILTER m_all_filter[];
241 static const TCHAR LHAZCLS[]; /* クラス名 */
242 static const TCHAR LHAZRES[]; /* リソースファイル名 */
243 static const TCHAR SFXEXT[]; /* SFX拡張子 */
244 static const TCHAR HLPEXT[]; /* HELP拡張子 */
245 static const TCHAR DLLEXT[]; /* DLL拡張子 */
246 static const TBBUTTON GpButtons[18]; /* ツールバーボタン */
247 static const TCHAR EXEOPEN[]; /* open */
248 static const TCHAR EXPLORE[]; /* explore */
249 static const OPENFILTER OpenFilter[];
250 static const OPENFILTER CompFilter[];
252 static const TCHAR HELPURL[];
253 static const TCHAR LHAZATOMURL[];
254 static const TCHAR LHAZVERNUM[];
255 static const TCHAR LHAZURL[];
256 //
257 WSTR ArchiveName; /* 圧縮書庫名 */
258 WSTR BrowseInitDir; /* フォルダ選択初期フォルダ */
259 HWND CancelButtonWnd; /* 中止ボタン */
260 WSTR CurrentDir; /* カレントディレクトリ */
261 HCURSOR CursorHand; /* 手カーソル */
262 bool DandD; /* D&D解凍処理中 */
263 WSTR DestDir; /* 解凍先フォルダ(設定値) */
264 WSTR DestDirEx; /* 解凍先フォルダ(実行時) */
267 int Error; /* エラー */
268 std::vector<int> ExtIndex; /* 個別解凍インデックス */
269 std::vector<LHAZPROCFILE> Files; /* コマンドラインファイル */
270 int FileView; /* ファイル閲覧フラグ */
271 FINDREPLACE Find; /* 検索情報 */
272 UINT FindMsg; /* 検索メッセージ */
273 TCHAR FindWhat[MAX_PATH]; /* 検索文字列 */
274 HWND FindWnd; /* 検索ダイアログ */
275 bool ForceComp; /* スイッチによる圧縮 */
276 bool ForceExtract; /* スイッチによる解凍 */
277 ARCHIVE::TYPE ForceType; /* コマンドライン指定種別 */
278 bool ForceView; /* スイッチによる閲覧 */
279 WSTR GrepStr; /* grep文字列 */
280 WSTR gOverWriteMes; /* 上書き確認メッセージ */
281 HACCEL HAccel; /* アクセラレータ */
282 HFONT m_hfont;
283 LHAZHIST* History; /* 履歴クラス */
284 HINSTANCE Instance; /* インスタンス */
285 bool IsBrowsing; /* 閲覧中 */
286 WSTR KobetuCompBaseDir; /* 個別圧縮先フォルダ */
287 const TCHAR* KobetuCompExt; /* 個別圧縮書庫拡張子 */
288 int KobetuCompHeader; /* 個別圧縮レベル */
289 int KobetuCompMethod; /* 個別圧縮メソッド */
290 bool KobetuCompTemp; /* 個別圧縮指定 */
291 LHAZEDIT* LhazEdit; /* grep結果ウィンドウ */
292 HWND LhazWnd; /* 本体 */
293 WNDPROC LVOrgProc; /* リストビューサブクラス */
294 HWND LVWnd; /* 閲覧リストビュー */
295 HMENU Menu; /* 閲覧ウィンドウメニュー */
296 MODE Mode; /* 解凍モード(単数/複数書庫)*/
297 LONGLONG MultiTotal; /* マルチ解凍全サイズ */
298 bool NoCompTemp; /* 非圧縮指定 */
299 bool OpenDirTemp; /* 解凍先を開く */
300 WSTR OpenExtractedFolder; /* 解凍後開くフォルダ */
301 WSTR Password; /* パスワード */
302 PASSWORD_IF PasswordIF; /* パスワード入力IF */
303 bool PopChange; /* ポップアップでの指定 */
304 LHAZPRG* Prgrs; /* プログレスバー */
305 bool SamePlace; /* 書庫と同じ場所に解凍 */
306 bool SaveExtDlgPos; /* 解凍ダイアログ位置保存 */
307 bool Selecting; /* 選択の切り替え中 */
308 LHAZSFX Sfx; /* 自己解凍書庫設定情報 */
310 int SortKind; /* ソート方法 */
311 int SortRev; /* 逆順ソート */
312 STARTKEY StartKey; /* 開始時押下キー */
313 HWND StaticWnd; /* 解凍ファイル名 */
314 STATUS Status; /* ステータス */
315 LHAZSTS* StsBar; /* ステータスバー */
316 HIMAGELIST SysImageList; /* システムイメージリスト */
317 LHAZTAB* Tab; /* タブ */
318 PATH TempName; /* テンポラリ名 */
319 HWND ToolWnd; /* ツールバー */
320 LHAZPRG* TotalPrgrs; /* 複数解凍プログレスバー */
321 std::vector<LHAZFILETREE> Tree; /* ファイルツリー */
322 std::vector<ULONG> m_ulID;
324 bool m_viewing; /* 閲覧中 */
325 bool Verify; /* テスト中 */
326 int Viewer[LHAZREGS::LHAZMAXVIEWER];/* ビューワ設定済みフラグ */
327 //
328 static void Div(void* param);
329 //
330 // Event handlers
331 MYCRACKERDEF(OnActivate);
333 MYCRACKERDEF(OnCommand);
334 MYCRACKERDEF(OnCompEnd);
335 MYCRACKERDEF(OnCreate);
336 MYCRACKERDEF(OnDeleteEnd);
337 MYCRACKERDEF(OnDestroy);
338 MYCRACKERDEF(OnDpiChanged);
339 MYCRACKERDEF(OnDropFiles);
340 MYCRACKERDEF(OnDispName);
341 MYCRACKERDEF(OnExecViewer);
342 MYCRACKERDEF(OnExtEnd);
343 MYCRACKERDEF(OnTestEnd);
344 MYCRACKERDEF(OnUploadComp);
345 MYCRACKERDEF(OnNotify);
346 MYCRACKERDEF(OnPanelSize);
347 MYCRACKERDEF(OnQueryEndSession);
348 MYCRACKERDEF(OnSettingChange);
350 MYCRACKERDEF(OnSyscommand);
351 MYCRACKERDEF(OnVExtEnd);
352 void OnAllClear(HWND hWnd);
353 void OnChangeTab(WPARAM wParam);
354 void OnClose(void);
355 void OnClose(HTREEITEM hitem);
356 void OnCompress(void);
357 void OnConvert(void);
358 void OnCopyName(void);
359 void OnCreateExtract(void);
360 void OnCreateCompress(void);
361 void OnDecryptFiles(void);
362 void OnDelete(void);
363 void OnEncryptFiles(void);
364 void OnExtractHere(HWND);
365 void OnFind(void);
366 void OnFindMsg(HWND hwnd, LPFINDREPLACE fr);
367 void OnGrep(void);
368 void OnHelp(void);
369 void OnListOut(void);
370 void OnListMake(void);
371 void OnListProc(UINT id);
372 void OnMovePane(void);
373 int OnNotifyTab(HWND hWnd, WPARAM wParam, LPARAM lPAram);
374 void OnOpen(bool add_or_new);
375 void OnOpenFolder(void);
376 void OnOption(void);
377 void OnRefresh(void);
378 void OnSelectAll(void);
379 bool OnSelectFolderAndExtract(HWND hWnd);
380 void OnTest(void);
381 void OnTreeView(LPARAM lParam);
382 void OnTreeViewRClick(LPARAM lParam);
383 void OnUp(void);
384 bool OnUpload(ARCHIVE::TYPE type, bool encryption);
385 void OnVersionUp(void);
386 void OnView(WPARAM);
387 // 解凍・テスト
388 bool Extract(HWND hwnd);
389 bool ExtractDescendant(HTREEITEM hitem);
390 static void ExtractThread(void* dummy);
391 static void TestThread(void* dummy);
392 // 圧縮
393 bool Compress(ARCHIVE::TYPE type, UINT id);
394 bool KobetuCompress(UINT id);
395 static void KobetuCompressThread(void* param);
396 bool RegetFiles(void);
397 bool RecursiveKobetuComp(const WSTR& dir);
398 // 閲覧
399 void View(void);
400 // 削除
401 static void DeleteThread(void* param);
402 // サブ
403 void AddViewer(HMENU smenu, int start, int key);
404 bool ChangeDir(const WSTR& archive, bool mkdir, const WSTR& onedir);
405 void ChangeDirErr(const WSTR& dir);
406 void ChangeMenuDestDirs(void);
407 void ChangeMenuFilters(void);
408 bool CheckDiskSpace(const WSTR& dir, LONGLONG extract_size);
409 void CheckFilterMenu(int idx);
410 bool CheckName(HWND hwnd, const TCHAR* name);
413 HWND CreateWindowExDpi(DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam);
415#ifdef SPEED
416 void DebugDisp(void);
417#endif // SPEED
418 bool DecryptFiles(const std::vector<WSTR>& infiles, std::vector<WSTR>& outfiles);
419 void DeleteDigit(TCHAR* buf);
420 void DeleteViewer(void);
421 unsigned long DialogDivGetDivSize(HWND hwnd);
422 void DialogDivSub(HWND, unsigned long, LONGLONG total);
423 void DispDiskFree(WSTR& mes);
424 void DispStsBar(void);
425 void EnableListFilesMenu(bool ext_sel, bool comp);
426 bool EncryptAndUpload(ARCHIVE::TYPE type, bool encryption, const std::vector<WSTR>& files);
427 bool EncryptFiles(const std::vector<WSTR>& infiles, std::vector<WSTR>& outfiles);
428 void ExecFolder(const WSTR& dir);
429 void Filt(void);
430 void Filt2(int treefolder);
432 bool GetCmdLine(LPCTSTR lpCmdLine);
433 HRESULT GetComCtlVersion(LPDWORD pdwMajor, LPDWORD pdwMinor);
434 WSTR GetCompArcName(const WSTR& name, const WSTR& regex, ARCHIVE::TYPE type);
435 void GetDirFileList(const WSTR&, std::vector<WSTR>&);
436 LONGLONG GetDirSize(const WSTR& dir) const;
437 WSTR GetExeName(void);
438 void GetFont(void);
439 WSTR GetLFN(const WSTR& p);
442 WSTR GetResourceName(void);
443 HIMAGELIST GetSystemImageList(void);
444 LONGLONG GetTotalSize(void) const;
446 WSTR GetViewerDispName(const WSTR& viewer);
447 void Grep(void);
448 void GrepExtract(void);
449 int HasDirZip(void);
450 bool HasUnicodeName(void);
451 bool IsAllDotName(const TCHAR* s);
453 bool IsDeskTopDir(const WSTR& dir);
454 bool IsZip(void) const;
455 bool ListProcCompress(UINT id);
456 bool ListProcGetListFile(const WSTR& filename, std::vector<WSTR>& files);
457 void ListProcSelect(UINT id);
458 void MakePopupExtMenu(HMENU menu);
459 void MakeTemp(void);
460 HWND MakeToolbar(HWND parent);
461 void MoveViewWindow(int show);
462 void OpenArchiveSub(bool rechis = true);
463 void OpenCmpFolder(void);
464 void OpenExtFolder(void);
465 bool ParseAtom(const MYBUF& buf, WSTR& version);
466 BOOL PopupCompMenu(HWND hwnd, bool view);
469 void RemakeListFilesMenu(void);
470 void SaveViewWindowPosition(HWND hWnd);
471 void SetWindowText(bool fullpath);
472 void ShowTreeView(bool show);
473 void UnInstall(void);
474 // Callback functions
475 static int CALLBACK BrowseCallbackComp(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
476 static int CALLBACK BrowseCallbackExtDir(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
477 static int CALLBACK BrowseCallbackGD(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
478 static int CALLBACK BrowseCallbackNow(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
479 static int CALLBACK BrowseCallbackTemp(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
480 static INT_PTR CALLBACK DialogAcount(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
481 static INT_PTR CALLBACK DialogCompExclude(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
482 static INT_PTR CALLBACK DialogCompFormat(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
483 static INT_PTR CALLBACK DialogDiv(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
484 static INT_PTR CALLBACK DialogEditCompPopup(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
485 static INT_PTR CALLBACK DialogExtDirCnf(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
486 static INT_PTR CALLBACK DialogGrep(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
487 static INT_PTR CALLBACK DialogListMake(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
488 static INT_PTR CALLBACK DialogListOut(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
489 static INT_PTR CALLBACK DialogOverWrite(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
490 static INT_PTR CALLBACK DialogOverWriteArc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
491 static INT_PTR CALLBACK DialogPass(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
492 static INT_PTR CALLBACK DialogVersion(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
493 static INT_PTR CALLBACK DialogViewContents(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
494 static INT_PTR CALLBACK PageAssoc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
495 static INT_PTR CALLBACK PageCloud(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
496 static INT_PTR CALLBACK PageCompress(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
497 static INT_PTR CALLBACK PageExtract(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
498 static INT_PTR CALLBACK PageGeneral(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
499 static INT_PTR CALLBACK PagePassword(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
500 static INT_PTR CALLBACK PageView(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
501 static INT_PTR CALLBACK PageViewer(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
502 static LRESULT CALLBACK LVSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
503 static LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
504
505};
506
507extern LHAZ Lhaz;
Definition lhazarcs.h:11
Definition lhazarc.h:25
TYPE
Definition lhazarc.h:28
Definition lhazgrep.h:33
Definition lhazhist.h:15
Definition lhazprg.h:10
@ LHAZMAXVIEWER
Definition lhazregs.h:42
Definition lhazsfx.h:10
Definition lhazsts.h:12
Definition lhaztab.h:33
Main Class
Definition lhaz.h:47
static const TCHAR GZIPEXT[]
Definition lhaz.h:94
@ LHAZLVSELECT
Definition lhaz.h:207
@ LHAZLVNOSELECT
Definition lhaz.h:207
static const TCHAR GOOGLEDRIVE_KEY[]
Definition lhaz.h:124
static INT_PTR CALLBACK DialogGrep(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazgrep.cpp:43
bool DandD
Definition lhaz.h:262
@ LHAZ_UPLOADE_COMP
Definition lhaz.h:77
@ LHAZ_VEXTRACT_END
Definition lhaz.h:78
@ LHAZ_DISP_NAME
Definition lhaz.h:71
@ LHAZ_EXT_END
Definition lhaz.h:73
@ WM_DRAGDROP
Definition lhaz.h:68
@ LHAZ_DELETE_END
Definition lhaz.h:70
@ LHAZ_EXEC_VIEWER
Definition lhaz.h:72
@ LHAZ_PANEL_SIZE
Definition lhaz.h:75
@ LHAZ_TEST_END
Definition lhaz.h:76
@ LHAZ_OLE_EXTRACT
Definition lhaz.h:74
@ LHAZ_COMP_END
Definition lhaz.h:69
bool OnSelectFolderAndExtract(HWND hWnd)
Definition lhazev.cpp:1611
bool SaveExtDlgPos
Definition lhaz.h:306
ARCHIVE::TYPE GetType(void) const
LHAZSTS * StsBar
Definition lhaz.h:315
HWND GetLVWnd(void) const
Definition lhaz.h:165
bool GetDandD(void) const
Definition lhaz.h:159
static void ExtractGrepThread(void *param)
Definition lhazgrep.cpp:136
void DispCount(int s, LONGLONG t, bool selected)
const TCHAR * GetPassword(void)
Definition lhaz.h:167
TDLGPROC * GetDialogPass(void) const
Definition lhaz.h:160
HWND LhazWnd
Definition lhaz.h:292
static INT_PTR CALLBACK PageView(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:2529
LHAZSTS * GetStsBar(void) const
Definition lhaz.h:176
MYCRACKERDEF(OnVExtEnd)
void ShowTreeView(bool show)
MYCRACKERDEF(OnDpiChanged)
void SetPasswordIF(const PASSWORD_IF &p)
Definition lhaz.h:197
static const TCHAR LHAZURL[]
Definition lhaz.h:255
void OnVersionUp(void)
アップデートの確認
Definition lhazev.cpp:1878
MYCRACKERDEF(OnQueryEndSession)
std::vector< LHAZFILETREE > Tree
Definition lhaz.h:321
MYCRACKERDEF(OnNotify)
void AddViewer(HMENU smenu, int start, int key)
Definition lhazsub.cpp:72
bool SamePlace
Definition lhaz.h:305
static const TCHAR DROPBOX_SECRET[]
Definition lhaz.h:123
static const TCHAR BZ2EXT[]
Definition lhaz.h:92
static const TCHAR ZSTDEXT[]
Definition lhaz.h:106
LHAZEDIT * GetLhazEdit(void) const
Definition lhaz.h:164
void EnableAccelerator(void)
Definition lhaz.h:150
static INT_PTR CALLBACK DialogEncPass(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:1016
UINT FindMsg
Definition lhaz.h:272
void Progress(unsigned int)
int DoOverWrite(const WSTR &name, bool &force, bool &skip)
bool IsDeskTopDir(const WSTR &dir)
void OpenArchiveSub(bool rechis=true)
void OnOpenFolder(void)
Definition lhazev.cpp:1502
static INT_PTR CALLBACK DialogOverWriteArc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:345
bool RecursiveKobetuComp(const WSTR &dir)
Definition lhazcomp.cpp:488
static const TCHAR LHAZARCHIVEZIP[]
Definition lhaz.h:110
BOOL PopupCompMenu(HWND hwnd, bool view)
static void Div(void *param)
static const TCHAR GOOGLEDRIVE_SECRET[]
Definition lhaz.h:125
LHAZPRG * TotalPrgrs
Definition lhaz.h:320
bool DownloadGD(void) const
WSTR DestDir
Definition lhaz.h:263
int GetSortKind(void)
MYCRACKERDEF(OnSettingChange)
ARCHIVE::TYPE ForceType
Definition lhaz.h:277
MYCRACKERDEF(OnDeleteEnd)
static const TCHAR LHAZVERNUM[]
Definition lhaz.h:254
static const TCHAR LZHEXT[]
Definition lhaz.h:96
static const TCHAR LHAZCLS[]
Definition lhaz.h:241
void Filt2(int treefolder)
int HasDirZip(void)
bool DownloadOD(void) const
static const TCHAR LHAZARCHIVEBZ2[]
Definition lhaz.h:116
static INT_PTR CALLBACK DialogListOut(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:1337
static const TCHAR TBZEXT[]
Definition lhaz.h:100
MYCRACKERDEF(OnDropFiles)
static INT_PTR CALLBACK DialogDiv(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:521
void AddPassword(const WSTR &pswd)
Definition lhazsub.cpp:58
bool GetVerify(void) const
Definition lhaz.h:179
static INT_PTR CALLBACK DialogPass(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:858
void OnExtractHere(HWND)
Definition lhazev.cpp:1261
void ChangeDirErr(const WSTR &dir)
ChangeDirErr
Definition lhazext.cpp:141
LHAZEDIT * LhazEdit
Definition lhaz.h:291
static const TCHAR LHAZARCHIVEGZIP[]
Definition lhaz.h:114
static const MYFILE::OPENFILTER m_all_filter[]
Definition lhaz.h:292
WSTR GetResourceName(void)
void RemakeListFilesMenu(void)
Definition lhazlistproc.cpp:14
LONGLONG GetTotalSize(void) const
Definition lhazcomp.cpp:531
void OnOption(void)
Definition lhazev.cpp:1524
void DisableAccelerator(void)
Definition lhaz.h:143
DIVPARAM DivParam
Definition lhaz.h:265
void SetStop(bool f)
Definition lhaz.h:199
WSTR gOverWriteMes
Definition lhaz.h:280
void OnCopyName(void)
Definition lhazev.cpp:985
std::vector< int > ExtIndex
Definition lhaz.h:268
void CheckQuickOption(void)
int Viewer[LHAZREGS::LHAZMAXVIEWER]
Definition lhaz.h:326
bool OpenArchive(WSTR name, bool add_or_new, bool rechis=true)
bool PopChange
Definition lhaz.h:303
‾LHAZ(void)
Destructor
Definition lhaz.cpp:84
void DispName(const WSTR &name)
void SetDandD(bool b)
Definition lhaz.h:190
bool KobetuCompTemp
Definition lhaz.h:290
static INT_PTR CALLBACK DialogVersion(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:789
void OnTest(void)
OnTest
Definition lhazext.cpp:597
static INT_PTR CALLBACK DialogAcount(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:1982
bool ExtractDescendant(HTREEITEM hitem)
ExtractDescendant
Definition lhazext.cpp:232
bool ForceComp
Definition lhaz.h:275
WSTR GrepStr
Definition lhaz.h:279
bool CheckDiskSpace(const WSTR &dir, LONGLONG extract_size)
Definition lhazsub.cpp:196
WSTR GetExeName(void)
void SetStatus(STATUS s)
Definition lhaz.h:198
MYCRACKERDEF(OnTestEnd)
MYCRACKERDEF(OnSyscommand)
static const TCHAR LHAZRES[]
Definition lhaz.h:242
void SetExtIndex(const std::vector< int > &v)
bool CheckName(HWND hwnd, const TCHAR *name)
Definition lhazsub.cpp:238
HMENU Menu
Definition lhaz.h:295
bool OpenDirTemp
Definition lhaz.h:299
int Error
Definition lhaz.h:267
HWND MakeToolbar(HWND parent)
PASSWORD_IF PasswordIF
Definition lhaz.h:302
static int CALLBACK BrowseCallbackComp(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
Definition lhazdlgs.cpp:106
void OnUp(void)
OnUp
Definition lhazev.cpp:1845
LHAZTAB * GetTab(void) const
Definition lhaz.h:177
void OnCreateExtract(void)
Definition lhazev.cpp:1134
bool GetCmdLine(LPCTSTR lpCmdLine)
void OnDelete(void)
Definition lhazdel.cpp:35
bool IsZip(void) const
HINSTANCE Instance
Definition lhaz.h:284
void OnListMake(void)
Definition lhazev.cpp:1402
static void CompressThread(void *param)
Definition lhazcomp.cpp:115
HWND FindWnd
Definition lhaz.h:274
static UINT_PTR CALLBACK OFNHookProcComp(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static const TCHAR DROPBOX_KEY[]
Definition lhaz.h:122
static INT_PTR CALLBACK DialogViewContents(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:367
static const TCHAR EXPLORE[]
Definition lhaz.h:248
bool GetStop(void) const
Definition lhaz.h:175
bool ParseAtom(const MYBUF &buf, WSTR &version)
static const TCHAR LHAZVER[]
Definition lhaz.h:89
static const TCHAR LHAZARCHIVE7ZIP[]
Definition lhaz.h:118
INT_PTR CALLBACK TDLGPROC(HWND, UINT, WPARAM, LPARAM)
Definition lhaz.h:87
MODE
Definition lhaz.h:224
@ MULTI
Definition lhaz.h:224
@ SINGLE
Definition lhaz.h:224
bool OnUpload(ARCHIVE::TYPE type, bool encryption)
OnUpload
Definition lhazev.cpp:1856
static const TCHAR TGZEXT[]
Definition lhaz.h:101
void OnCreateCompress(void)
Definition lhazev.cpp:1012
static INT_PTR CALLBACK DialogOverWrite(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:321
STATUS
Definition lhaz.h:53
@ IDLE
Definition lhaz.h:54
@ TESTING
Definition lhaz.h:58
@ EXITING
Definition lhaz.h:60
@ COMPRESSING
Definition lhaz.h:57
@ EXTRACTING
Definition lhaz.h:55
@ EXTRACTING_TREE
Definition lhaz.h:56
@ DELETING
Definition lhaz.h:59
ARCHIVE * GetActiveArchive(void) const
MODE Mode
Definition lhaz.h:296
void OnOpen(bool add_or_new)
Definition lhazev.cpp:1454
static INT_PTR CALLBACK DialogZipEncPass(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:1174
void GetDirFileList(const WSTR &, std::vector< WSTR > &)
const PATH & GetTempName(void) const
Definition lhaz.h:178
BOOL PopupQuickOption(void)
void OnChangeTab(WPARAM wParam)
Definition lhazev.cpp:904
@ LHAZWND_HEIGHT
Definition lhaz.h:64
@ LHAZWND_WIDTH
Definition lhaz.h:63
@ LHAZWND_HEIGHT_MULTI
Definition lhaz.h:65
static const TCHAR LHAZARCHIVETAR[]
Definition lhaz.h:113
void OpenCmpFolder(void)
void OnFind(void)
Definition lhazev.cpp:1309
bool SelectFolder(const WSTR &init_dir, WSTR &selected_dir)
void DispDiskFree(WSTR &mes)
bool IsAbleToKobetuComp(void)
void OnClose(void)
Definition lhazev.cpp:914
static const TCHAR LZ4EXT[]
Definition lhaz.h:95
static const TCHAR TAREXT[]
Definition lhaz.h:99
WSTR Password
Definition lhaz.h:301
static INT_PTR CALLBACK PageExtract(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:2022
void OnListOut(void)
Definition lhazev.cpp:1394
void ExtractFile(const WSTR &file)
ExtractFile
Definition lhazext.cpp:287
const TCHAR * KobetuCompExt
Definition lhaz.h:287
static LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
WndProc
Definition lhaz.cpp:212
MYCRACKERDEF(OnExecViewer)
bool Verify
Definition lhaz.h:325
WSTR GetPresetPassword(void)
void MakePopupExtMenu(HMENU menu)
WSTR CurrentDir
Definition lhaz.h:260
void SetDestDir(const WSTR &s)
Definition lhaz.h:191
MYCRACKERDEF(OnUploadComp)
static const TCHAR LHAZARCHIVETBZ[]
Definition lhaz.h:115
static void TestThread(void *dummy)
TestThread
Definition lhazext.cpp:616
void ChangeMenuDestDirs(void)
Definition lhazsub.cpp:117
static INT_PTR CALLBACK DialogCompExclude(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
圧縮除外設定ダイアログコールバック
Definition lhazdlgs.cpp:1782
HINSTANCE GetInstance(void) const
Definition lhaz.h:163
WSTR GetArchiveName(const WSTR &curdir, std::vector< LHAZPROCFILE > &files, ARCHIVE::TYPE &type, UINT id)
Definition lhazcomp.cpp:814
void ExtractView(bool chdirsw)
ExtractView
Definition lhazext.cpp:416
STARTKEY StartKey
Definition lhaz.h:312
bool m_viewing
Definition lhaz.h:324
void SetWindowText(bool fullpath)
HACCEL HAccel
Definition lhaz.h:281
bool KobetuCompress(UINT id)
Definition lhazcomp.cpp:248
void Exit(void)
Exit
Definition lhaz.cpp:181
WSTR DestDirEx
Definition lhaz.h:264
bool m_enableaccl
Definition lhaz.h:266
static const TCHAR ZIPEXT[]
Definition lhaz.h:105
void UpdateShell(bool, const WSTR &p)
int SortRev
Definition lhaz.h:311
@ LHAZVIEWERMENU
Definition lhaz.h:209
static INT_PTR CALLBACK PageCompress(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
圧縮ページ
Definition lhazdlgs.cpp:2290
MYCRACKERDEF(OnActivate)
bool RegetFiles(void)
Definition lhazcomp.cpp:308
void DialogDivSub(HWND, unsigned long, LONGLONG total)
Definition lhazdlgs.cpp:487
bool MakeExtMember(LONGLONG &ext_total_size)
MakeExtMember
Definition lhazext.cpp:534
void MoveViewWindow(int show)
void OnFindMsg(HWND hwnd, LPFINDREPLACE fr)
Definition lhazev.cpp:1323
@ e_LHAZ_HPANEL_DX
Definition lhaz.h:208
void ListProcSelect(UINT id)
Definition lhazlistproc.cpp:105
void OnTreeViewRClick(LPARAM lParam)
OnTreeViewRClick
Definition lhazev.cpp:1665
HMENU GetMenu(void) const
Definition lhaz.h:166
int GetSortRev(void) const
Definition lhaz.h:173
void ChangeMenuFilters(void)
Definition lhazsub.cpp:169
LHAZPRG * Prgrs
Definition lhaz.h:304
int KobetuCompHeader
Definition lhaz.h:288
static const TCHAR HLPEXT[]
Definition lhaz.h:244
static INT_PTR CALLBACK PageGeneral(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:3231
std::vector< LHAZPROCFILE > Files
Definition lhaz.h:269
void OnTreeView(LPARAM lParam)
OnTreeView
Definition lhazev.cpp:1652
int FileView
Definition lhaz.h:270
void OnDecryptFiles(void)
Definition lhazev.cpp:1219
@ EXTRACTING_MENU
Definition lhaz.h:51
@ NOTEXTRACTING_MENU
Definition lhaz.h:50
void SetTotalSize(LONGLONG size)
static const COMPTYPEMENU CompTypeMenu[]
Definition lhaz.h:251
static void KobetuCompressThread(void *param)
Definition lhazcomp.cpp:337
static INT_PTR CALLBACK DialogCompFormat(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:1482
WSTR GetLFN(const WSTR &p)
bool Compress(ARCHIVE::TYPE type, UINT id)
Definition lhazcomp.cpp:28
void Filt(void)
HWND StaticWnd
Definition lhaz.h:313
void ShowProgressBar(bool b)
HWND LVWnd
Definition lhaz.h:294
MYCRACKERDEF(OnDispName)
LHAZSFX Sfx
Definition lhaz.h:308
void SetFiles(const std::vector< LHAZPROCFILE > &files)
Definition lhaz.h:194
static INT_PTR CALLBACK PageAssoc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:2821
void CheckFilterMenu(int idx)
Definition lhazsub.cpp:214
void SetError(int err)
Definition lhaz.h:192
void SetArchiveName(const WSTR &n)
Definition lhaz.h:189
WSTR OpenExtractedFolder
Definition lhaz.h:300
static const TCHAR LHAZARCHIVEXZ[]
Definition lhaz.h:119
WSTR BrowseInitDir
Definition lhaz.h:258
void OnGrep(void)
Definition lhazev.cpp:1378
BOOL PopupExtMenu(bool view)
void EnableMenu(int extract)
static INT_PTR CALLBACK PagePassword(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:2646
LONGLONG MultiTotal
Definition lhaz.h:297
static const TCHAR XZEXT[]
Definition lhaz.h:103
WNDPROC LVOrgProc
Definition lhaz.h:293
void OnHelp(void)
Definition lhazev.cpp:1386
LHAZ(void)
Constructor
Definition lhaz.cpp:30
void SaveViewWindowPosition(HWND hWnd)
static INT_PTR CALLBACK PageViewer(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:2435
void ExecFolder(const WSTR &dir)
void CheckShowTreeView(void)
bool ListProcCompress(UINT id)
Definition lhazlistproc.cpp:141
static INT_PTR CALLBACK DialogExtDirCnf(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:157
int OnNotifyTab(HWND hWnd, WPARAM wParam, LPARAM lPAram)
Definition lhazev.cpp:1436
STARTKEY
Definition lhaz.h:223
@ CONTROL
Definition lhaz.h:223
@ NON
Definition lhaz.h:223
bool NoCompTemp
Definition lhaz.h:298
bool DecryptFiles(const std::vector< WSTR > &infiles, std::vector< WSTR > &outfiles)
static const TBBUTTON GpButtons[18]
Definition lhaz.h:111
void SetLhazEdit(LHAZEDIT *e)
Definition lhaz.h:195
void OnView(WPARAM)
Definition lhazev.cpp:1931
void OnEncryptFiles(void)
Definition lhazev.cpp:1240
MYCRACKERDEF(OnPanelSize)
bool ListProcGetListFile(const WSTR &filename, std::vector< WSTR > &files)
Definition lhazlistproc.cpp:183
void GetFont(void)
void OnSelectAll(void)
Definition lhazev.cpp:1587
HWND CancelButtonWnd
Definition lhaz.h:259
void OnConvert(void)
Definition lhazev.cpp:951
static const TCHAR LHAZARCHIVETGZ[]
Definition lhaz.h:112
bool HasUnicodeName(void)
static void ExtractViewThread(void *param)
ExtractViewThread
Definition lhazext.cpp:455
WSTR GetCompArcName(const WSTR &name, const WSTR &regex, ARCHIVE::TYPE type)
Definition lhazcomp.cpp:552
LHAZPRG * GetPrgrs(void) const
Definition lhaz.h:169
void OnCompress(void)
Definition lhazcomp.cpp:771
void OnAllClear(HWND hWnd)
Definition lhazev.cpp:891
bool ForceView
Definition lhaz.h:278
SMENUPOS
Definition lhaz.h:211
@ LHAZVIEWERINSPOS
Definition lhaz.h:219
@ LHAZLISTPOS
Definition lhaz.h:221
@ LHAZARCHISTPOS
Definition lhaz.h:216
LHAZSFX * GetSfx(void)
Definition lhaz.h:171
HWND ToolWnd
Definition lhaz.h:319
LONGLONG GetDirSize(const WSTR &dir) const
static const TCHAR LHAZARCHIVELZH[]
Definition lhaz.h:109
bool IsBrowsing
Definition lhaz.h:285
void OnMovePane(void)
Definition lhazev.cpp:1425
bool DownloadDB(void) const
HWND CreateWindowMultiMonitor(void)
static const OPENFILTER CompFilter[]
Definition lhaz.h:210
bool m_userstopped
Definition lhaz.h:323
const OPENFILTER * GetCompFilter(void) const
Definition lhaz.h:158
void Grep(void)
Definition lhazgrep.cpp:31
void ProgressAbs(LONGLONG)
HFONT m_hfont
Definition lhaz.h:282
PATH TempName
Definition lhaz.h:318
void MakeTemp(void)
int Run(void)
Run
Definition lhaz.cpp:194
bool GetPopChange(void) const
Definition lhaz.h:168
static INT_PTR CALLBACK DialogSFX(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:184
void OnRefresh(void)
Definition lhazev.cpp:1576
void DeleteViewer(void)
MYCRACKERDEF(OnClose)
HRESULT GetComCtlVersion(LPDWORD pdwMajor, LPDWORD pdwMinor)
FINDREPLACE Find
Definition lhaz.h:271
void OnListProc(UINT id)
Definition lhazev.cpp:1410
static int CALLBACK BrowseCallbackGD(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
Definition lhazdlgs.cpp:140
void EnableListFilesMenu(bool ext_sel, bool comp)
Definition lhazlistproc.cpp:75
static INT_PTR CALLBACK DialogEditCompPopup(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
圧縮ポップアップメニュー設定ダイアログコールバック
Definition lhazdlgs.cpp:1609
bool IsAllDotName(const TCHAR *s)
void SetStsBarText(const WSTR &mes)
static void DeleteThread(void *param)
Definition lhazdel.cpp:16
static void ExtractThread(void *dummy)
ExtractThread
Definition lhazext.cpp:360
void View(void)
View
Definition lhazview.cpp:22
void OpenExtFolder(void)
static const TCHAR DLLEXT[]
Definition lhaz.h:245
static const TCHAR LHAZREG[]
Definition lhaz.h:90
void ExtractOle(void)
ExtractOle
Definition lhazext.cpp:323
STATUS Status
Definition lhaz.h:314
static const TCHAR LHAZARCHIVERAR[]
Definition lhaz.h:117
bool ForceExtract
Definition lhaz.h:276
BOOL PopupHeaderContents(void)
MYCRACKERDEF(OnExtEnd)
MYCRACKERDEF(OnCreate)
MYCRACKERDEF(OnDestroy)
static const TCHAR SZIPEXT[]
Definition lhaz.h:98
static const TCHAR LHAZARCHIVETXZ[]
Definition lhaz.h:120
static const TCHAR LHAZARCHIVECAB[]
Definition lhaz.h:111
static int CALLBACK BrowseCallbackTemp(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
Definition lhazdlgs.cpp:123
bool m_silent
Definition lhaz.h:309
MYCRACKERDEF(OnSize)
bool Check4GB(ARCHIVE::TYPE type, vector< LHAZPROCFILE > &files)
Definition lhazcomp.cpp:781
void UnInstall(void)
bool CheckOverWriteArc(const WSTR &name)
Definition lhazcomp.cpp:745
void DispStsBar(void)
bool GetSelecting(void) const
Definition lhaz.h:170
WSTR KobetuCompBaseDir
Definition lhaz.h:286
static const TCHAR EXEOPEN[]
Definition lhaz.h:247
void SetWindowTextSub(bool fullpath, const WSTR &p)
TCHAR FindWhat[MAX_PATH]
Definition lhaz.h:273
bool EncryptAndUpload(ARCHIVE::TYPE type, bool encryption, const std::vector< WSTR > &files)
void GrepExtract(void)
Definition lhazgrep.cpp:100
WSTR GetViewerDispName(const WSTR &viewer)
HWND GetHwnd(void) const
Definition lhaz.h:162
static INT_PTR CALLBACK PageCloud(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:3127
WSTR GetRandomPassword(void)
static const TCHAR LHAZATOMURL[]
Definition lhaz.h:253
static const TCHAR ONEDRIVE_CLIENT_ID[]
Definition lhaz.h:126
int KobetuCompMethod
Definition lhaz.h:289
bool ChangeDir(const WSTR &archive, bool mkdir, const WSTR &onedir)
Definition lhazext.cpp:31
HCURSOR CursorHand
Definition lhaz.h:261
WSTR ArchiveName
Definition lhaz.h:257
STATUS GetStatus(void) const
Definition lhaz.h:174
void SetMeltedSize(LONGLONG size)
HWND CreateWindowExDpi(DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int X, int Y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam)
unsigned long DialogDivGetDivSize(HWND hwnd)
Definition lhazdlgs.cpp:510
MYCRACKERDEF(OnCompEnd)
static const TCHAR HELPURL[]
Definition lhaz.h:252
LHAZHIST * History
Definition lhaz.h:283
int GetError(void)
Definition lhaz.h:161
static const TCHAR LZMAEXT[]
Definition lhaz.h:104
HIMAGELIST GetSystemImageList(void)
bool EncryptFiles(const std::vector< WSTR > &infiles, std::vector< WSTR > &outfiles)
HIMAGELIST SysImageList
Definition lhaz.h:316
HANDLE ExecViewer(const WSTR &viewer, const WSTR &file)
ExecViewer
Definition lhazext.cpp:184
bool Init(HINSTANCE hins, LPTSTR lpCmdLine)
Init
Definition lhaz.cpp:94
void AddHistory(const WSTR &name)
Definition lhazsub.cpp:48
static int CALLBACK BrowseCallbackNow(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
Definition lhazdlgs.cpp:43
void DeleteDigit(TCHAR *buf)
DeleteDigit
Definition lhazext.cpp:151
static int CALLBACK BrowseCallbackExtDir(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
Definition lhazdlgs.cpp:87
bool Extract(HWND hwnd)
Extract
Definition lhazext.cpp:201
void SelectLocalTab(void)
bool Selecting
Definition lhaz.h:307
LHAZTAB * Tab
Definition lhaz.h:317
static const TCHAR CABEXT[]
Definition lhaz.h:93
std::vector< ULONG > m_ulID
Definition lhaz.h:322
MYCRACKERDEF(OnCommand)
int SortKind
Definition lhaz.h:310
static LRESULT CALLBACK LVSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
LVSubProc
Definition lhazview.cpp:93
static const OPENFILTER OpenFilter[]
Definition lhaz.h:132
static INT_PTR CALLBACK DialogListMake(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition lhazdlgs.cpp:1839
static const TCHAR RAREXT[]
Definition lhaz.h:97
static const TCHAR TXZEXT[]
Definition lhaz.h:102
static const TCHAR SFXEXT[]
Definition lhaz.h:243
static const TCHAR TZSTEXT[]
Definition lhaz.h:107
Input Password Interface
Definition passwordif.h:13
LHAZ Lhaz
Definition lhaz.cpp:11
Archive
Registory
¥ type v
Definition lhazregs.h:21
Definition lhazbz2.h:17
Input Password Interface
#define IDM_VIEW_ACC1
Definition resource.h:619
Definition lhaz.h:226
UINT wID
Definition lhaz.h:227
ARCHIVE::TYPE type
Definition lhaz.h:230
UINT uID
Definition lhaz.h:228
const TCHAR * format
Definition lhaz.h:229
bool allow_unicode
Definition lhaz.h:231
Definition lhaz.h:233
WSTR dst
Definition lhaz.h:235
WSTR src
Definition lhaz.h:236
HWND hwnd
Definition lhaz.h:234
unsigned long size
Definition lhaz.h:237
Definition lhaz.h:81
ARCHIVE::TYPE type
Definition lhaz.h:82
UINT id
Definition lhaz.h:83
const TCHAR * ext
Definition lhaz.h:84