Article View: comp.windows.x
Article #38212Xview Problem
From: Kevin L. Watts(ESG Forever!)
Date: Tue, 26 Jun 1990 15:39
Date: Tue, 26 Jun 1990 15:39
51 lines
2149 bytes
2149 bytes
I am having a slight problem with an Xview application I'm trying to hack. A simple shelltool. With a "Stuff" item in the menu. Here is what I have so far. If I create a TTY, I can get the MENU and insert the item, BUT!, the keyboard focus will not follow the mouse into the TTY. It WILL follow the mouse OUT! but not IN! I cannot get it to work without having to click to type. My openwindow environment is set up for followmouse keyboardfocus model. If, on the other hand, I create a TERMSW instead of a TTY, the keyboard focus works perfectly normal without the slightest problem, HOWEVER!, there is now a slight problem concerning the MENU. Even with the TERMSW_MODE set to TTYSW_MODE_TYPE( to disable scrolling..this is supposed to be a shelltool not a cmdtool), the MENU I get with xv_get(tty, WIN_MENU, NULL) is the TERMSW_MODE_TYPE MENU, NOT the TTYSW_MODE MENU. So I need the answers to the following... 1) How to get the input focus into a TTY without click to type. and/OR 2) How to get the TTYSW_MODE MENU for a TERMSW and not the TERMSW_MODE MENU. If you can help me I would be eternaly (well momentarily) in your debt. Kev! -- "Every invention since the dawn of time, has met with opposition, with the possible exception of the sword."
Technical Details
Message-ID:
<137832@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!lll-winken!sun-barr!newstop!sun!tahquitz.Eng.Sun.COM!kwattsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,ba774d65baab9e62,start X-Google-Attributes: gid103734,public X-Google-Thread: 10e286,ba774d65baab9e62,start X-Google-Attributes: gid10e286,public X-Google-Thread: 165bfd,ba774d65baab9e62,start X-Google-Attributes: gid165bfd,public X-Google-ArrivalTime: 1990-06-26 11:40:28 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!lll-winken!sun-barr!newstop!sun!tahquitz.Eng.Sun.COM!kwatts From: kwatts@tahquitz.Eng.Sun.COM (Kevin L. Watts(ESG Forever!)) Newsgroups: comp.windows.x,ba.windows.x,sun.open-windows Subject: Xview Problem Keywords: TTYSW, TERMSW, MENUS, KEYBOARD FOCUS Message-ID: <137832@sun.Eng.Sun.COM> Date: 26 Jun 90 15:39:20 GMT Sender: news@sun.Eng.Sun.COM Followup-To: sun.open-windows Lines: 51 Posted: Tue Jun 26 16:39:20 1990