mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:00:16 +08:00
Try to fix bug #317 "Interface won't restore" by calling ActivateMainform() at startup
This commit is contained in:
@ -60,6 +60,7 @@ begin
|
|||||||
);
|
);
|
||||||
debug('perf: Running.');
|
debug('perf: Running.');
|
||||||
Application.Run;
|
Application.Run;
|
||||||
|
ActivateMainform(Mainform.Handle);
|
||||||
finally
|
finally
|
||||||
DeInitializeSync;
|
DeInitializeSync;
|
||||||
end;
|
end;
|
||||||
|
@ -74,6 +74,8 @@ type
|
|||||||
procedure setLocales;
|
procedure setLocales;
|
||||||
function maskSql(sql_version: integer; str: String) : String;
|
function maskSql(sql_version: integer; str: String) : String;
|
||||||
procedure ActivateWindow(Window : HWnd);
|
procedure ActivateWindow(Window : HWnd);
|
||||||
|
function GetApplication(MainForm: HWnd): HWnd;
|
||||||
|
procedure ActivateMainForm(MainForm: HWnd);
|
||||||
procedure ShellExec( cmd: String; path: String = '' );
|
procedure ShellExec( cmd: String; path: String = '' );
|
||||||
function getFirstWord( text: String ): String;
|
function getFirstWord( text: String ): String;
|
||||||
function ConvertWindowsCodepageToMysqlCharacterSet(codepage: Cardinal): string;
|
function ConvertWindowsCodepageToMysqlCharacterSet(codepage: Cardinal): string;
|
||||||
|
Reference in New Issue
Block a user