CompuServe Thread

#BORDERLESS problem

3 messages in this thread
#55891From: KEITH YOUNGJul 5, 1989 1:02 PM
Patrick, A window with no title bar is easy enough to do… depending on what you actually want. If you want a window with no title-bar and no drag bar, then just dont set the WINDOWDRAG flag. If you want a drag bar with no title in it, there are two ways that come to mind (and I've used both in Access!)… 1) set the WINDOWDRAG flag, and for the 'title' field, provide a string of about 80 or so SPACES (which show up as an 'empty' title-bar, but without the 'bars' that are normally there). 2) don't set the WINDOWDRAG flag, but create a 640 * 10 (or whatever) gadget and set it's type as WDRAGGING. Doing this tells Intuition that you want it to act just like a drag-bar and it will handle all events from it (ie.. you won't get any events from it, Intuition will handle them). BTW, the function that Jim was thinking of was SetWindowTitles() which will set a title in (I think) both a window and/or screen. I hope this is the info you were looking for, Keith
#55929From: Patrick MaloneyJul 5, 1989 4:49 PM
Keith, Those solutions, especially using the 80 spaces (whatever), are good. I have changed my set up now anyway, so Borderless is no longer a problem. I am using a Borderless window with no title bar and just having the screen title suffice as my title. By the way, any chance of getting source for Access!? Also, what is XMODEM Text Send vs. XMODEM Transmit? It might be in the docs, but I did not look for it. Also, what method do you implement to FOR (to for?) using those gadget bars on the top and bottom of the screen? Are they windows with just a title bar and the gadgets? Also, if they are windows, (and also for file requesters), I notice the menu strip remains the same. Also when you select "System Info" from the system menu (I meant this and not file requestors), I notice the menu strip still exists, but with a different foreground color corresponding to the title of that window. My question is this, do you do a Set/ClearMenuStrip(); for each of these windows that open(and close)? -Patrick Maloney P.S. It might interest you to know that I am using Access! 1.42 now…
#56014From: KEITH YOUNGJul 6, 1989 1:41 AM
Where to begin… 🙂 First question, re: source to Access!, sorry, no. (I'm not done with it yet :-). XMODEM Text Send will convert any LF chars into CR chars as it transfers the file. Yes the "gadget bar(s)" are little windows… I SetMenuStrip() on them (as well as a few others) so that the menus are normally always available. Also, since they are windows, I use WindowToBack(), WindowToFront(), MoveWindow(), etc… for manipulating them. The text color in the menus will corespond to the colors set in the active window's structure… I just checked it here, it stays the same colors now, I must have fixed that since 1.42 <grin>. Keith