mirror of
https://github.com/paleotronic/microm8-gui.git
synced 2025-02-20 07:28:55 +00:00
fix mousebuttonstate api
This commit is contained in:
parent
b346d2d76f
commit
6806f92640
@ -2304,7 +2304,7 @@ begin
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
//Application.Restore;
|
//Application.Restore;
|
||||||
StatusBar1.SimpleText := 'trying to focus';
|
StatusBar1.SimpleText := 'trying to focus '+DateTimeToStr(Now);
|
||||||
Application.BringToFront;
|
Application.BringToFront;
|
||||||
{$IFDEF WINDOWS}
|
{$IFDEF WINDOWS}
|
||||||
SetForegroundWindow(Application.MainForm.Handle);
|
SetForegroundWindow(Application.MainForm.Handle);
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
main.pas
2
main.pas
@ -2298,10 +2298,8 @@ begin
|
|||||||
if GetTitleOfActiveWindow = 'microM8' then
|
if GetTitleOfActiveWindow = 'microM8' then
|
||||||
begin
|
begin
|
||||||
|
|
||||||
{$IFDEF WINDOWS}
|
|
||||||
if IsMouseBtnDown then
|
if IsMouseBtnDown then
|
||||||
exit;
|
exit;
|
||||||
{$ENDIF}
|
|
||||||
|
|
||||||
//Application.Restore;
|
//Application.Restore;
|
||||||
StatusBar1.SimpleText := 'trying to focus '+DateTimeToStr(Now);
|
StatusBar1.SimpleText := 'trying to focus '+DateTimeToStr(Now);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user