Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga.tech Subject: Re: IDCMP ports Message-ID: <8804211836.AA01335@cory.Berkeley.EDU> Date: 21 Apr 88 18:36:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 28 :This is probably a dumb question and so should probably be answered by :mail, but: : :If I have an application that has created a custom screen and I don't :want to open any windows, how do I get an IDCMP port between me and :Intuition? All the documentation talks about windows and I don't see :a way to do it otherwise. I just want some mouse moves and gadget :information without cluttering up the world with windows. : :Is this possible? If not, is this why I see gratuitous tiny windows :behind so many applications? Well, actually, just one window. If you make it BORDERLESS, don't include any system gadgets, and have a NULL title, you'd never see it... add to that either making it BACKDROP or making TopEdge 1 (depending on whether you want an invisible 'close' gadget or not). Also can specify SIMPLE_REFRESH though it doesn't really matter, and probably also NOCAREREFRESH so you don't have to bother with refresh revents. Being the only window on the screen, it doesn't take any extra memory (just enough for the Window, Layers, and a few other small structures). The sole purpose of the window would be to catch all mouse and keyboard activity, and to provide menu's for the screen. The idea is for the window to not be noticeable ... obviously not everyone has got it down to a fine art yet. As far as I know, you can not get IDCMP from a screen, only a window. -Matt