Article View: comp.os.os2.programmer.misc
Article #38Re: Initial Session Title? Tried WinQuerySwitchList,WinQueryWindowText,LM_QUERYITEMTEXT
From: Jim Lewis
Date: Thu, 16 Apr 1998 00:00
Date: Thu, 16 Apr 1998 00:00
37 lines
2461 bytes
2461 bytes
trindflo@fishnet.net wrote: > > Could somebody help me with a tricky session manager question? I am > attempting to find the "initial" Title field of a task as displayed > in the Window List or Task List which is displayed when Ctl-Esc is > typed. Session Manager yields some of this information with the > WinQuerySwitchList function, but the szSwtitle which is returned is > replaced with the name of the currently running program in the case of > an OS/2 Full-Screen or Window. WinQueryWindowText always yields the > same text. Both the initial task name and the currently running program > are displayed in the Window List, but I have been unable to get this > window to return this string using LM_QUERYITEMTEXT. TIA. > > -- > * Do not send me Spam, Junk email, or UCE. Using the internet this way is * > * theft and harassment. Doing so will cost $20 per word of offending email.* > > -Rick Curry (Team OS/2) http://www.fishnet.net/~trindflo http://www.cauce.org > GCS/M/S d? s+:+ a+ C++++$ UL- P L+ E---- W+ N+ o? K? !w--- O+++ M@ V PS++ > PE Y+ PGP t@ 5++ X- R* tv+ b++ DI+ D+ G e++ h++ r+++ y++++ v3.12 > > -----== Posted via Deja News, The Leader in Internet Discussion ==----- > http://www.dejanews.com/ Now offering spam-free web-based newsreading I can't tell what you're asking for here, but I think I have an answer for you anyway. Years ago I wrote an app which would always show you the titlebar of whatever object had the focus. I'll see if I can did it up and send the source to you. With a little tweaking I think it will do what you want. -- Please remove "nospam" from address to reply by e-mail. Jim Lewis Try my Lunar Lander and Targ for Java games at http://www.rytebyte.com/jimlewis
Technical Details
Message-ID:
<353665BC.15FB@austin.ibm.nospam.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6h4e34$jfo$1@nnrp2.dejanews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cd94,91e76f0589441dac X-Google-Attributes: gid10cd94,public X-Google-Thread: 11307a,91e76f0589441dac X-Google-Attributes: gid11307a,public From: Jim Lewis <jklewis@austin.ibm.nospam.com> Subject: Re: Initial Session Title? Tried WinQuerySwitchList,WinQueryWindowText,LM_QUERYITEMTEXT Date: 1998/04/16 Message-ID: <353665BC.15FB@austin.ibm.nospam.com> X-Deja-AN: 344778577 Content-Transfer-Encoding: 7bit References: <6h4e34$jfo$1@nnrp2.dejanews.com> Content-Type: text/plain; charset=us-ascii Organization: IBM Network Computing Division Mime-Version: 1.0 Newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l