Re: [BLACKBOX] Program freezes when window loses focus

From: [at]} <Robert>
Date: Tue, 15 Mar 2011 21:33:54 +0000

----boundary-LibPST-iamunique-1746795941_-_-
Content-type: text/plain

I too find the apparent 'Freezing' rather irritating, but since, for me, it is
not a real freeze, and frees up when the Command finishes, I just generally
live with it.

I have sometimes used Actions to avoid the problem, but that is usually
inconvenient, and more trouble than it is worth.

If I remember correctly, this was far less of a problem with Windows NT before
Windows XP?


On a more practical note, you could try the occasional Dialog.Beep in your
program for an alternative indication of whether it is really frozen, or just
progressing slowly.


Cheers

Robert


On 15/03/2011 09:20 PM, Stephen R. Troy wrote:
> No, sorry, that's not it. I said "display window" in the same sense as you said
> "form"; i.e. I'm already doing the better way you suggest, using Dialog.Update,
> and watching the program execute. However, if I do something to lose focus on
> the display form, such as click mouse-click elsewhere, or start another program
> outside BlackBox, the program freezes. It is not executing an infinite loop,
> because I am too old a programmer for that, I put traps to halt loops that run
> an excessive number of times; i.e. an excessive number of iterations is always
> one of several exit conditions.


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1746795941_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEkgdG9vIGZpbmQgdGhlIGFwcGFyZW50ICdGcmVl
emluZyc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IGkuZS4gSSdtIGFscmVhZHkgZG9pbmcgdGhlIGJldHRlciB3YXkgeW91IHN1Z2dl
c3QsIHVzaW5nIERpYWxvZy5VcGRhdGUsXHBhcg0KPiBhbmQgd2F0Y2hpbmcgdGhlIHByb2dyYW0g
ZXhlY3V0ZS4gSG93ZXZlciwgaWYgSSBkbyBzb21ldGhpbmcgdG8gbG9zZSBmb2N1cyBvblxwYXIN
Cj4gdGhlIGRpc3BsYXkgZm9ybSwgc3VjaCBhcyBjbGljayBtb3VzZS1jbGljayBlbHNld2hlcmUs
IG9yIHN0YXJ0IGFub3RoZXIgcHJvZ3JhbVxwYXINCj4gb3V0c2lkZSBCbGFja0JveCwgdGhlIHBy
b2dyYW0gZnJlZXplcy4gSXQgaXMgbm90IGV4ZWN1dGluZyBhbiBpbmZpbml0ZSBsb29wLFxwYXIN
Cj4gYmVjYXVzZSBJIGFtIHRvbyBvbGQgYSBwcm9ncmFtbWVyIGZvciB0aGF0LCBJIHB1dCB0cmFw
cyB0byBoYWx0IGxvb3BzIHRoYXQgcnVuXHBhcg0KPiBhbiBleGNlc3NpdmUgbnVtYmVyIG9mIHRp
bWVzOyBpLmUuIGFuIGV4Y2Vzc2l2ZSBudW1iZXIgb2YgaXRlcmF0aW9ucyBpcyBhbHdheXNccGFy
DQo+IG9uZSBvZiBzZXZlcmFsIGV4aXQgY29uZGl0aW9ucy5ccGFyDQpccGFyDQpccGFyDQotLS0t
XHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBC
TEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIfX0ABX8AHg==
----boundary-LibPST-iamunique-1746795941_-_---
Received on Tue Mar 15 2011 - 22:33:54 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:16 UTC