home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6132 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.9 KB

  1. Path: Inter.NL.net!hguijt
  2. From: hguijt@nijmegen.inter.nl.net (H.Guijt)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: What the new Amiga-OS *must* have --> SAY *NO* TO FAT BINARIES!
  5. Date: 24 Mar 1996 23:09:34 GMT
  6. Organization: Inter.NL.net, The Internet Provider in The Netherlands.
  7. Message-ID: <4j4kne$gj6@altrade.nijmegen.inter.nl.net>
  8. NNTP-Posting-Host: hatert.nijmegen.inter.nl.net
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12. > HG> And I despise that 'clicktofront' feature. I find myself continuously
  13. > HG> resizing stuff so I can read in one window and work in another.
  14. >
  15. >Agreed. But I really like the clicktofront way of doubeclicking the window
  16. >border, and it is moved to the front. There is one program for the Amiga
  17. >that provides this. I think Motif have it as well.
  18.  
  19. My (limited) command of the English language strikes again. I meant to say I
  20. like clicktofront as a feature, but the windows implementation sucks. On my
  21. amiga I run something that lets me click windows to front (and back!) by
  22. pressing both mousebuttons at the same time. That's not completely perfect
  23. but I can live with it.
  24.  
  25. Far better though is that I could get rid of it if I didn't like it. No
  26. matter how you want to have your clicktofronts, there is a program out there
  27. that will do it just that way.
  28.  
  29. > HG> No, you'd rather have that great windows API (GetWindowLong (Window,
  30. > HG> -16) anyone?)...
  31. >
  32. >And that means? (Haven't done any Windows programming...)
  33.  
  34. Bless you! I have been working in Powerbuilder (a visual programming
  35. language for windows) lately. Powerbuilder has an interesting bug: you
  36. specify a window as non-resizable, and it in turn completely ignores you.
  37.  
  38. GetWindowLong (Window, -16) peeks the window structure at offset -16, this
  39. is where it stores information about windows being resizable or not. BTW,
  40. the -16 is there because Powerbuilder does not support constants.
  41.  
  42. After you have obtained this LONG you have to subtract 262144 from it
  43. (Powerbuilder does not support bitwise 'and' either) to make the window
  44. non-resizable, and store it back using a similar call.
  45.  
  46. All this has some interesting implications about the windows API, and I
  47. think it says a lot about Powerbuilder.
  48.  
  49. It gets even worse though: Powerbuilder offers no way to build resizable
  50. GUI's other than moving all window elements by hand. It is also completely
  51. font-insensitive. This already meant I had to redraw 90% of my application
  52. when the user came in for early testing and thought the font I used was too
  53. small to be readable. 90% wasn't much at that time but still...
  54.  
  55. And it means my application is locked to the resolution I programmed in
  56. (800*600). No way could it ever be run in 640*480. And in 1024*768 and up it
  57. looks silly, all those stamp-sized windows...
  58.  
  59. Since I work with Powerbuilder I have fallen in love with MUI. No mucking
  60. about with the user specifying the font for the application before you begin
  61. programming, no resolution-dependance, and all windows are automatically
  62. resizable. Even better, I (as a programmer) do not have to painstakingly
  63. place every gadget in the right place - MUI does all that for me.
  64.  
  65. > HG> So you can change dialog boxes in Windows - big deal. Now try hacking
  66. > HG> *real windows*. Oops - you can't.
  67. >
  68. >But the concept is quite nice. No need to recompile a program only because
  69. >you want to change the layout a little. For a developer this could be very
  70. >convenient.
  71.  
  72. It saved our buts! I work for a Dutch customer (that's not surprising; I am
  73. in fact Dutch) and all those standard powerbuilder requesters are in
  74. English. Windows has such great support for localization (NOT!) so we had to
  75. use a tool to break our libraries apart and translate all text by hand.
  76.  
  77. > HG> The GUI's produced by MUI are among the most beautiful I have seen on
  78. > HG> any platform (including Windows, Windows 95, OS/2, EASE, GEOS, Motif,
  79. > HG> Solaris, and others). Even better, they don't need wide expanses of
  80. > HG> screen just to show a simple 'yes-no' style window.
  81. >
  82. >But MUI has its own set of problems... And I'm not _that_ fond of the look
  83. >(I have tried to make it better, but never really succeeded).
  84.  
  85. It can be (almost) completely gadtools, and when you add some nice marble
  86. texturing there is very little that beats it. Of course there are still some
  87. bugs, such as the fact that it screws up my WB colors. There should be a
  88. thread called 'MUI is purple' on one of the csa.* groups but I have been
  89. unable to find it; anyways, I agree with that!
  90.  
  91. > HG> New ASL? What should it contain?
  92. >
  93. >Nothing much, I guess, but I don't really like parts of its behaviour...
  94.  
  95. You always have the option of installing ReqTools (not ideal either but I
  96. like it better than ASL). Or ARQ. Or both.
  97.  
  98. I hate the Windows filerequester (it only shows 5 lines when there is room
  99. for 50 lines on my screen, and I always need line 6 or 7). And it always
  100. defaults to the wrong directory, no matter what application you are using.
  101.  
  102. I can't wait for the day I can make a living from programming Amiga's.
  103.  
  104.  
  105. Bye,
  106.  
  107. Hans
  108.  
  109.  
  110.  
  111.