- BlackBox community

From: [at]} <Alexander>
Date: Wed, 20 Sep 2006 05:22:46 +0700

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

Hello, Gérard!

GM> Martin, Marc a écrit :
>> I mention this because this may not be so limiting with the
>> user interface -- for example, you can easily make an
>> "single window" interface, while Blackbox only seems
>> to support multiple windows.
>>
GM> To run a dialog window, without the BlackBox window, put a file, named
GM> CommandLine.txt, in System/Rsrc/ with the following content:
GM> COMMANDLINE
GM> /NOAPPWIN
GM> The Config module must contain the opening command for the desired
GM> dialog window.

GM> Gérard

  I agree with both of you. The real problem under BlackBox is to
  start a SDI application with _resizable_ and _minimizable_ main
  window (not a "tool" one).
  Another problem is to have several SDI-style windows only _one_ of
  which would behave as a "main" window (i.e. application would
  terminate if user closes it). Currently user must close every window
  individually.
  Both these tasks, I think, are impossible to accomplish in BB
  without API-level hacking.
  And how, by the way, would you display a menu in such SDI
  application? API again? I thought so.

  There is an interesting hack, though... If you set some special flag
  to TRUE... namely, HostWindows.dir.background... and then create a
  window... like, for example, a document... and will abstain from
  creating other document windows later on... you will end up with
  something that would look very much like a normal SDI application.
  Hmm... How did I knew that? I read it today, here:
  http://bbforum.metasystems.ru/viewtopic.php?t7

  You may also want to open that window in Aux mode and set document
  size to follow window size.

  I didn't try it myself.

---===---
 Alexander

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-1963509169_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NC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jdW1lbnQgd2luZG93cyBsYXRlciBvbi4uLiB5b3Ugd2lsbCBlbmQgdXAgd2l0aFxw
YXINCiAgc29tZXRoaW5nIHRoYXQgd291bGQgbG9vayB2ZXJ5IG11Y2ggbGlrZSBhIG5vcm1hbCBT
REkgYXBwbGljYXRpb24uXHBhcg0KICBIbW0uLi4gSG93IGRpZCBJIGtuZXcgdGhhdD8gSSByZWFk
IGl0IHRvZGF5LCBoZXJlOlxwYXINCiAgaHR0cDovL2JiZm9ydW0ubWV0YXN5c3RlbXMucnUvdmll
d3RvcGljLnBocD90PTE5N1xwYXINClxwYXINCiAgWW91IG1heSBhbHNvIHdhbnQgdG8gb3BlbiB0
aGF0IHdpbmRvdyBpbiBBdXggbW9kZSBhbmQgc2V0IGRvY3VtZW50XHBhcg0KICBzaXplIHRvIGZv
bGxvdyB3aW5kb3cgc2l6ZS5ccGFyDQpccGFyDQogIEkgZGlkbid0IHRyeSBpdCBteXNlbGYuXHBh
cg0KXHBhcg0KLS0tPT09PT0tLS1ccGFyDQogQWxleGFuZGVyXHBhcg0KXHBhcg0KLS0tIEJsYWNr
Qm94XHBhcg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94
QG9iZXJvbi5jaH19AAAAAAEBAAAAAAA

----boundary-LibPST-iamunique-1963509169_-_---
Received on Wed Sep 20 2006 - 00:22:46 UTC

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