I am writing utilities to enumerate windows (in Windows10) based on
the partial title. Will be used in order to find a particular set of
windows.
The function should return a list of window titles and handles to the
window. I found examples I have adapted and it is working partially..
But there
On Sun, 01 Nov 2020 11:37:14 +0100
Bo Berglund via lazarus wrote:
> On Sun, 1 Nov 2020 10:20:11 +0100 (CET), Michael Van Canneyt via
> lazarus wrote:
>
> >> QUESTION:
> >> Is there a way in code to check if Forms is used?
> >> So it can be used instead of {$IFDEF NOGUI}
> >
> >normally
> >
>
On Sun, Nov 1, 2020 at 11:51 AM Michael Van Canneyt via lazarus
wrote:
> Well, then the IDE codetools have an issue.
It's a known issue, not yet fixed.
--
Bart
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
On Sun, 01 Nov 2020 11:48:54 +0100, Bo Berglund via lazarus
wrote:
>I created this command line program:
>
>program Test;
>
>begin
> Writeln('I will test the TForm check now:');
> {$IF DECLARED(TForm)}
>Writeln('TForm is declared...');
> {$ELSE}
>Writeln('Apparently TForm not
On Sun, 1 Nov 2020, Bo Berglund via lazarus wrote:
On Sun, 1 Nov 2020 10:20:11 +0100 (CET), Michael Van Canneyt via
lazarus wrote:
QUESTION:
Is there a way in code to check if Forms is used?
So it can be used instead of {$IFDEF NOGUI}
normally
{$IF DECLARED(Forms)}
or
{$IF
On Sun, 1 Nov 2020, Bo Berglund via lazarus wrote:
should do the trick for you.
A quick test:
It seems like there is a problem with this...
I added this to the end of a random function:
{$IF DECLARED(TForm)}
Application.ProcessMessages;
{$ENDIF}
Even though the project does not use
On Sun, 1 Nov 2020 10:20:11 +0100 (CET), Michael Van Canneyt via
lazarus wrote:
>> QUESTION:
>> Is there a way in code to check if Forms is used?
>> So it can be used instead of {$IFDEF NOGUI}
>
>normally
>
>{$IF DECLARED(Forms)}
>or
>{$IF DECLARED(TForm)}
>
>should do the trick for you.
>
I
On Sun, 1 Nov 2020 10:20:11 +0100 (CET), Michael Van Canneyt via
lazarus wrote:
>> QUESTION:
>> Is there a way in code to check if Forms is used?
>> So it can be used instead of {$IFDEF NOGUI}
>
>normally
>
>{$IF DECLARED(Forms)}
>or
>{$IF DECLARED(TForm)}
>
>should do the trick for you.
A
On Sun, 1 Nov 2020, Bo Berglund via lazarus wrote:
procedure AppProcessMessages; virtual; abstract; (no implementation)
And ProcessAsyncCallQueue seems to be doing the job with pretty
intricate code inside a CriticalSection shield.
QUESTION:
Is there a way in code to check if Forms is used?
On Mon, 26 Oct 2020 13:00:26 +0100 (CET), Michael Van Canneyt via
lazarus wrote:
>But I would create a routine
>
>Procedure HandleMainLoop;
>
>begin
>{$IFDEF NOGUI}
> CheckSynchronize;
>{$ELSE}
> Application.ProcessMessages;
>{$ENDIF}
>end;
>
>And call that both in GUI and NOGUI.
I decided
10 matches
Mail list logo