Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

You can be replaced by this computer.


devel / comp.lang.clipper.visual-objects / Re: Is there a method that is invoked when the canvas size of an app owner changes?

SubjectAuthor
* Is there a method that is invoked when the canvas size of an appjuan.chava...@gmail.com
`* Re: Is there a method that is invoked when the canvas size of an appJohnMartens
 `- Re: Is there a method that is invoked when the canvas size of an appjuan.chava...@gmail.com

1
Is there a method that is invoked when the canvas size of an app owner changes?

<e51272c4-d2cf-4eb0-a33a-75eda5c15326n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1400&group=comp.lang.clipper.visual-objects#1400

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:620a:492:b0:76d:e9c0:9109 with SMTP id 18-20020a05620a049200b0076de9c09109mr47955qkr.7.1692813021036;
Wed, 23 Aug 2023 10:50:21 -0700 (PDT)
X-Received: by 2002:a63:3e02:0:b0:564:1f95:71f1 with SMTP id
l2-20020a633e02000000b005641f9571f1mr2520719pga.3.1692813020553; Wed, 23 Aug
2023 10:50:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 23 Aug 2023 10:50:20 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=201.196.125.42; posting-account=jiHOGgkAAABCxwUt38dlP3qbJWSyxTmI
NNTP-Posting-Host: 201.196.125.42
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e51272c4-d2cf-4eb0-a33a-75eda5c15326n@googlegroups.com>
Subject: Is there a method that is invoked when the canvas size of an app
owner changes?
From: juan.chavarria.grillo@gmail.com (juan.chava...@gmail.com)
Injection-Date: Wed, 23 Aug 2023 17:50:21 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1314
 by: juan.chava...@gmail. - Wed, 23 Aug 2023 17:50 UTC

Greetings:

I'm having the problem that when the application is been shown in a second monitor and the user disconnect the second monitor, then the application doesn't move to the first monitor.

Thanks,
Any help would be appreciate
Juan

Re: Is there a method that is invoked when the canvas size of an app owner changes?

<uc5jk1$31u8l$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1401&group=comp.lang.clipper.visual-objects#1401

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: martens@tennishulp.info (JohnMartens)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Is there a method that is invoked when the canvas size of an app
owner changes?
Date: Wed, 23 Aug 2023 20:36:49 +0200
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uc5jk1$31u8l$1@dont-email.me>
References: <e51272c4-d2cf-4eb0-a33a-75eda5c15326n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 23 Aug 2023 18:36:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="60c9ea04d56a825d1009f427398e60ab";
logging-data="3209493"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185iCXomsWz4j/vf7fIEoPpA7VtNjhaZiU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:OVsAnb49tMjHpEJ7HLotqDk6DBE=
In-Reply-To: <e51272c4-d2cf-4eb0-a33a-75eda5c15326n@googlegroups.com>
Content-Language: nl
 by: JohnMartens - Wed, 23 Aug 2023 18:36 UTC

If that happens does the Desktop dimension of the PC changes ?

dDesktop :=
Dimension{GetSystemMetrics(SM_CXVIRTUALSCREEN),GetSystemMetrics(SM_CYVIRTUALSCREEN)}

If that is the case you could set a timer in the shellwindow and check
if MyShellWinwod:Origin:X+MyShellwindow:Size:Width > dDesktop:Width

if that is the case make the origin of the shellwindow 0,0 and it will
be back on the primary monitor

John

Op 23-8-2023 om 19:50 schreef juan.chava...@gmail.com:
> Greetings:
>
> I'm having the problem that when the application is been shown in a second monitor and the user disconnect the second monitor, then the application doesn't move to the first monitor.
>
> Thanks,
> Any help would be appreciate
> Juan

Re: Is there a method that is invoked when the canvas size of an app owner changes?

<7ed5a40f-75d1-4240-8761-43b6069b8b2en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1402&group=comp.lang.clipper.visual-objects#1402

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:620a:8b02:b0:76d:8811:a708 with SMTP id qw2-20020a05620a8b0200b0076d8811a708mr139112qkn.1.1692818387344;
Wed, 23 Aug 2023 12:19:47 -0700 (PDT)
X-Received: by 2002:a17:902:f551:b0:1bc:e37:aa5c with SMTP id
h17-20020a170902f55100b001bc0e37aa5cmr5835170plf.1.1692818386825; Wed, 23 Aug
2023 12:19:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 23 Aug 2023 12:19:46 -0700 (PDT)
In-Reply-To: <uc5jk1$31u8l$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=201.196.125.42; posting-account=jiHOGgkAAABCxwUt38dlP3qbJWSyxTmI
NNTP-Posting-Host: 201.196.125.42
References: <e51272c4-d2cf-4eb0-a33a-75eda5c15326n@googlegroups.com> <uc5jk1$31u8l$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7ed5a40f-75d1-4240-8761-43b6069b8b2en@googlegroups.com>
Subject: Re: Is there a method that is invoked when the canvas size of an app
owner changes?
From: juan.chavarria.grillo@gmail.com (juan.chava...@gmail.com)
Injection-Date: Wed, 23 Aug 2023 19:19:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2261
 by: juan.chava...@gmail. - Wed, 23 Aug 2023 19:19 UTC

El miércoles, 23 de agosto de 2023 a la(s) 12:36:52 UTC-6, JohnMartens escribió:
> If that happens does the Desktop dimension of the PC changes ?
>
> dDesktop :=
> Dimension{GetSystemMetrics(SM_CXVIRTUALSCREEN),GetSystemMetrics(SM_CYVIRTUALSCREEN)}
>
> If that is the case you could set a timer in the shellwindow and check
> if MyShellWinwod:Origin:X+MyShellwindow:Size:Width > dDesktop:Width
>
> if that is the case make the origin of the shellwindow 0,0 and it will
> be back on the primary monitor
>
> John
>
>
> Op 23-8-2023 om 19:50 schreef juan.chava...@gmail.com:
> > Greetings:
> >
> > I'm having the problem that when the application is been shown in a second monitor and the user disconnect the second monitor, then the application doesn't move to the first monitor.
> >
> > Thanks,
> > Any help would be appreciate
> > Juan

Thank you very much John. I'm going to try it.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor