object GikoForm: TGikoForm
- Left = 129
- Top = 179
+ Left = 115
+ Top = 0
HorzScrollBar.Visible = False
VertScrollBar.Visible = False
AutoScroll = False
Caption = '-'
ClientHeight = 566
- ClientWidth = 702
+ ClientWidth = 696
Color = clBtnFace
Font.Charset = SHIFTJIS_CHARSET
Font.Color = clWindowText
object StatusBar: TStatusBar
Left = 0
Top = 546
- Width = 702
+ Width = 696
Height = 20
Panels = <
item
object MainPanel: TPanel
Left = 0
Top = 77
- Width = 702
+ Width = 696
Height = 469
Align = alClient
BevelOuter = bvNone
object MessageSplitter: TSplitter
Left = 0
Top = 430
- Width = 702
+ Width = 696
Height = 5
Cursor = crVSplit
Align = alBottom
object ClientPanel: TPanel
Left = 0
Top = 0
- Width = 702
+ Width = 696
Height = 430
Align = alClient
BevelOuter = bvNone
object ToolBar1: TToolBar
Left = 2
Top = 4
- Width = 16
+ Width = 15
Height = 18
Align = alNone
AutoSize = True
object ThreadMainPanel: TPanel
Left = 150
Top = 0
- Width = 552
+ Width = 546
Height = 430
Align = alClient
BevelOuter = bvNone
object ListSplitter: TSplitter
Left = 0
Top = 189
- Width = 552
+ Width = 546
Height = 5
Cursor = crVSplit
Align = alTop
object ViewPanel: TPanel
Left = 0
Top = 0
- Width = 552
+ Width = 546
Height = 189
Align = alTop
BevelOuter = bvNone
object ListView: TGikoListView
Left = 0
Top = 53
- Width = 552
+ Width = 546
Height = 136
Align = alClient
Columns = <>
object ListCoolBar: TGikoCoolBar
Left = 0
Top = 0
- Width = 552
+ Width = 546
Height = 24
AutoSize = True
BandMaximize = bmDblClick
Control = ListNameToolBar
ImageIndex = -1
MinHeight = 18
- Width = 41
+ Width = 35
end>
EdgeBorders = [ebLeft, ebTop, ebRight]
EdgeInner = esLowered
object SelectComboBox: TComboBox
Tag = 1
Left = 194
- Top = 1
+ Top = 0
Width = 127
Height = 20
Hint = #12473#12524#12483#12489#12434#26908#32034#12377#12427#12395#12399#12371#12371#12395#35486#21477#12434#20837#21147#12375#12414#12377
object ListNameToolBar: TToolBar
Left = 516
Top = 2
- Width = 28
+ Width = 22
Height = 18
AutoSize = True
ButtonHeight = 16
object TmpToolBar: TToolBar
Left = 0
Top = 24
- Width = 552
+ Width = 546
Height = 29
Caption = 'TmpToolBar'
TabOrder = 2
object ThreadPanel: TPanel
Left = 0
Top = 194
- Width = 552
+ Width = 546
Height = 236
Align = alClient
BevelOuter = bvNone
object BrowserBottomPanel: TGikoPanel
Left = 0
Top = 216
- Width = 552
+ Width = 546
Height = 20
Align = alBottom
BevelEdges = [beLeft, beRight, beBottom]
object BrowserCoolBar: TGikoCoolBar
Left = 0
Top = 0
- Width = 552
+ Width = 546
Height = 46
AutoSize = True
BandMaximize = bmDblClick
Control = BrowserNameToolBar
ImageIndex = -1
MinHeight = 18
- Width = 163
+ Width = 157
end
item
Control = BrowserTabToolBar
ImageIndex = -1
MinHeight = 20
- Width = 548
+ Width = 542
end>
EdgeBorders = [ebLeft, ebTop, ebRight]
EdgeInner = esLowered
object BrowserNameToolBar: TToolBar
Left = 394
Top = 2
- Width = 150
+ Width = 144
Height = 18
AutoSize = True
ButtonHeight = 16
object BrowserTabToolBar: TToolBar
Left = 9
Top = 24
- Width = 535
+ Width = 529
Height = 20
ButtonHeight = 18
Caption = 'BrowserTabToolBar'
object Browser: TWebBrowser
Left = 0
Top = 46
- Width = 552
+ Width = 546
Height = 170
Align = alClient
TabOrder = 2
OnNewWindow2 = BrowserNewWindow2
OnDocumentComplete = BrowserDocumentComplete
ControlData = {
- 4C0000000D390000921100000000000000000000000000000000000000000000
+ 4C0000006E380000921100000000000000000000000000000000000000000000
000000004C000000000000000000000001000000E0D057007335CF11AE690800
2B2E126202000000000000004C0000000114020000000000C000000000000046
8000000000000000000000000000000000000000000000000000000000000000
object MessagePanel: TPanel
Left = 0
Top = 435
- Width = 702
+ Width = 696
Height = 34
Align = alBottom
BevelOuter = bvNone
object MessageListView: TListView
Left = 28
Top = 0
- Width = 674
+ Width = 668
Height = 34
Align = alClient
BorderStyle = bsNone
object TopPanel: TPanel
Left = 0
Top = 0
- Width = 702
+ Width = 696
Height = 77
Align = alTop
BevelOuter = bvNone
TabOrder = 3
object TopRightPanel: TPanel
- Left = 666
+ Left = 660
Top = 0
Width = 36
Height = 77
object TopCoolPanel: TPanel
Left = 0
Top = 0
- Width = 666
+ Width = 660
Height = 77
Align = alClient
BevelOuter = bvNone
object MainCoolBar: TGikoCoolBar
Left = 0
Top = 0
- Width = 666
+ Width = 660
Height = 70
AutoSize = True
BandMaximize = bmDblClick
Control = MenuToolBar
ImageIndex = -1
MinHeight = 18
- Width = 662
+ Width = 656
end
item
Control = StdToolBar
ImageIndex = -1
MinHeight = 22
Text = #12450#12489#12524#12473
- Width = 422
+ Width = 416
end
item
Control = LinkToolBar
ImageIndex = -1
MinHeight = 22
Text = #12522#12531#12463
- Width = 662
+ Width = 656
end>
OnContextPopup = MainCoolBarContextPopup
OnResize = MainCoolBarResize
object MenuToolBar: TToolBar
Left = 9
Top = 0
- Width = 649
+ Width = 643
Height = 18
AutoSize = True
ButtonHeight = 18
object AddressToolBar: TToolBar
Left = 293
Top = 20
- Width = 365
+ Width = 359
Height = 22
ButtonWidth = 51
EdgeBorders = []
object LinkToolBar: TToolBar
Left = 42
Top = 44
- Width = 616
+ Width = 610
Height = 22
AutoSize = True
ButtonWidth = 89
BBSSelectPopupMenu: TPopupMenu;
PlugInMenu: TMenuItem;
TmpToolBar: TToolBar;
- procedure FormCreate(Sender: TObject);
+ procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
procedure CabinetPanelHide(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FavoriteTreeViewMouseDown(Sender: TObject;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
procedure MessagePanelResize(Sender: TObject);
+ procedure OnResized;
private
{ Private \90é\8c¾ }
//RoundList : TRoundList;
// \83u\83\89\83E\83U\82Ì\83L\81[\83_\83E\83\93\83C\83x\83\93\83g
// \83C\83x\83\93\83g\82ð\8eæ\82è\88µ\82Á\82½\8fê\8d\87\82Í True \82ð\95Ô\82·
function BrowserKeydown(Sender: TObject; Key: Word; State:TShiftState) : Boolean;
- // \83\8a\83T\83C\83Y\82ª\8a®\97¹\82µ\82½
- procedure UserResized;
protected
procedure CreateParams(var Params: TCreateParams); override;
ThreadEditorAction.Enabled := (GetActiveList is TBoard);
end;
-procedure TGikoForm.UserResized;
-begin
- FOldFormWidth := Width;
- FIsIgnoreResize := False;
-end;
-
procedure TGikoForm.FormResize(Sender: TObject);
begin
+ FIsIgnoreResize := True;
MessageListView.Column[0].Width := MessageListView.ClientWidth - 32;
MainCoolBar.Width := TopPanel.Width - TopRightPanel.Width;
USER_TREECLICK:
TreeClick( TreeView.Selected );
USER_RESIZED:
- UserResized;
+ OnResized;
USER_MINIMIZED:
OnMinimized;
end;
band : TCoolBand;
i, j : Integer;
begin
-
if (FOldFormWidth = Width) and not IsIconic( Handle ) and not FIsIgnoreResize then begin
+ FIsIgnoreResize := True;
+ PostMessage( Handle, USER_RESIZED, 0, 0 );
if not (Sender is TToolBar) or (CoolBar = nil) then
Exit;
toolbar := TToolBar( Sender );
end;
+procedure TGikoForm.OnResized;
+begin
+
+ FOldFormWidth := Width;
+ FIsIgnoreResize := False;
+
+end;
+
initialization
OleInitialize(nil);
finalization