home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16256 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.7 KB  |  34 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!ugle.unit.no!humpty.edb.tih.no!blazer.edb.tih.no!havardn
  3. From: havardn@edb.tih.no (Haavard Nesse,o92a)
  4. Subject: Gadgets & Windows - Help needed!!
  5. Message-ID: <1992Nov23.121302.2841W@baron.edb.tih.no>
  6. Sender: havardn@edb.tih.no (Haavard Nesse,o92a)
  7. Reply-To: havardn@edb.tih.no
  8. Posting-Front-End: Winix Conference v 92.05.15  1.20 (running under MS-Windows)
  9. Date: Mon, 23 Nov 1992 12:12:55 GMT
  10. Lines: 22
  11.  
  12. I'm working on a program that opens windows which should look exactly
  13. like MS-Windows style windows.(Don't ask me why!!).
  14. I've made the Close Window Gadget, and te Minimize- and Maximize Gadgets.
  15. All the windows should be connected to a Custom screen(With the Marble
  16. background from MS-Windows).
  17. I've got two problems:
  18. 1) The background color in the windows should be white, but since the back-
  19.    ground color of my Custom screen is black (as it should be), the bg in
  20.    the opened window is also black.
  21.    How should I solve this problem?
  22. 2) I can't make a border around my window that changes size when I change 
  23.    the size of the window. I know about the flags (GRELHEIGHT etc.) in the
  24.    Gadget structure, but I can't connect this to the Border-structure.
  25.    (I guess there are other ways than using the Border structure)
  26.  
  27. I'm sure these are stupid questions to some of you, but I've just started
  28. working with windows, and I'M STUCK!!!
  29.  
  30. Anyway.....Please give me a hint!!!
  31. (PS! It would be nice if you could answer by E-Mail, since I don't read
  32. this conference very often.)
  33.                                   Greeting from Haavard Nesse, Norway.                                                        
  34.