case TPI_MESSAGE_STATUS:\r
{\r
static int s_nGaugeCounter = 0, s_nInterval = 0;\r
- if (! this->IsShown())\r
- {\r
- return TPI_CALLBACK_CONTINUE;\r
- }\r
switch (piInfo->eStatus)\r
{\r
case TPI_STATUS_OPENARCHIVE:\r
s_nGaugeCounter = 0;\r
}\r
break;\r
- // 書庫ロード時用の独自仕様。\r
- case 0x1000:\r
+ // Lycheeの独自仕様。\r
+ case 0x1000: // 初期設定。\r
this->ebSource->ChangeValue(piInfo->fiInfo.fnFileName.GetFullPath());\r
+ this->Update();\r
+ case 0x1001: // 書庫ロード時には最初にファイル数が分からないので、ここで設定。\r
this->gArchive->SetRange(piInfo->fiInfo.nUnpackedSize);\r
this->gArchive->SetValue(0);\r
- this->Update();\r
s_nInterval = piInfo->fiInfo.nUnpackedSize / 10;\r
break;\r
- case 0x1001:\r
+ case 0x1002: // 各ファイルの処理を開始。\r
if (piInfo->fiInfo.nUnpackedSize > 10000)\r
{\r
this->ebTarget->ChangeValue(piInfo->fiInfo.fnFileName.GetFullPath());\r