mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user