Don't hide the window caption of the memo editor, display the form as toolwindow. Looks better since the form is centered.

This commit is contained in:
Ansgar Becker
2008-08-26 06:14:48 +00:00
parent 7e2897ebcf
commit 2ff02a7eb1
2 changed files with 2 additions and 3 deletions

View File

@ -58,8 +58,6 @@ var
Tree: TCustomVirtualStringTree;
begin
Tree := TCustomVirtualStringTree(Parent);
// Hide window caption
SetWindowLong(Handle, GWL_STYLE, GetWindowLong( Handle, GWL_STYLE ) and not WS_CAPTION );
// Restore form dimensions
Width := Mainform.GetRegValue(REGNAME_MEMOEDITOR_WIDTH, DEFAULT_MEMOEDITOR_WIDTH);
Height := Mainform.GetRegValue(REGNAME_MEMOEDITOR_HEIGHT, DEFAULT_MEMOEDITOR_HEIGHT);