ギコナビ
Revision | a85e8a5c7eddc24196c01c8531e54840fcc3458f (tree) |
---|---|
Time | 2009-04-05 23:24:40 |
Author | h677 <h677> |
Commiter | h677 |
close #15974
タブの自動復元の際の処理を見直して、ブラウザの描画待ちでメッセージを処理
せずに単純スリープするようにした。
@@ -1472,8 +1472,8 @@ var | ||
1472 | 1472 | item : TThreadItem; |
1473 | 1473 | begin |
1474 | 1474 | if FStartUp then begin |
1475 | + FStartUp := false; | |
1475 | 1476 | ShowWindow(Application.Handle, SW_HIDE); |
1476 | - | |
1477 | 1477 | //FormCreateÅâéÆÂÝ誽f³êÈ¢êª éÌÅFormShowÅâ鱯ɵ½ |
1478 | 1478 | //c[o[\¦ |
1479 | 1479 | GikoDM.StdToolBarVisibleAction.Checked := GikoSys.Setting.StdToolBarVisible; |
@@ -1498,6 +1498,9 @@ begin | ||
1498 | 1498 | // ResetBandInfo( ListCoolBar, ListToolBar ); |
1499 | 1499 | FIsIgnoreResize := rtNone; |
1500 | 1500 | |
1501 | + //ActionListÌGroupIndexð³Éß· | |
1502 | + SetGroupIndex(GikoDM.GikoFormActionList); | |
1503 | + | |
1501 | 1504 | //FormCrete©çÚ®B |
1502 | 1505 | if GikoSys.Setting.TabAutoLoadSave then begin |
1503 | 1506 | GikoDM.TabsOpenAction.Tag := 1; |
@@ -1505,26 +1508,20 @@ begin | ||
1505 | 1508 | GikoDM.TabsOpenAction.Tag := 0; |
1506 | 1509 | if (GikoSys.Setting.LastCloseTabURL <> '') then begin |
1507 | 1510 | if ( FActiveContent <> nil) and (FActiveContent.Browser <> nil) then begin |
1508 | - PostMessage( Handle, USER_DOCUMENTCOMPLETE, Integer( FActiveContent.Browser ), 0 ); | |
1509 | - end; | |
1510 | - if ( FActiveContent <> nil) and (FActiveContent.Browser <> nil) then begin | |
1511 | 1511 | while (FActiveContent.Browser.ReadyState <> READYSTATE_COMPLETE) and |
1512 | 1512 | (FActiveContent.Browser.ReadyState <> READYSTATE_INTERACTIVE) do begin |
1513 | - Application.ProcessMessages; | |
1513 | + // bZ[Wðó¯æçÈ¢æ¤ÉX[vÉÏX | |
1514 | + Sleep(1); | |
1514 | 1515 | end; |
1515 | 1516 | end; |
1516 | 1517 | item := BBSsFindThreadFromURL( GikoSys.Setting.LastCloseTabURL ); |
1518 | + GikoSys.Setting.LastCloseTabURL := ''; | |
1517 | 1519 | if (item <> nil) and (item.IsLogFile) then begin |
1518 | 1520 | OpenThreadItem(item, item.URL); |
1519 | 1521 | end; |
1520 | - GikoSys.Setting.LastCloseTabURL := ''; | |
1522 | + //ShowWindow(Self.Handle, SW_SHOW); | |
1521 | 1523 | end; |
1522 | 1524 | end; |
1523 | - | |
1524 | - //ActionListÌGroupIndexð³Éß· | |
1525 | - SetGroupIndex(GikoDM.GikoFormActionList); | |
1526 | - | |
1527 | - FStartUp := false; | |
1528 | 1525 | end; |
1529 | 1526 | end; |
1530 | 1527 |