For Programmers: Free Programming Magazines  


Home > Archive > Clipper > January 2005 > Change Window Caption from Clipper?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Change Window Caption from Clipper?
Doug Schwarz

2005-01-06, 8:55 pm

Hi, folks --

I'm running a Clipper (5.2) app under Windows (98 or XP workstations).
Initially, the caption in the window displaying the program (and on the
taskbar icon) shows the name of the Clipper EXE, which is what I want.

At certain times the Clipper app uses the Blinker swap command to run a
child process (another DOS program). At that time the caption changes
to the name of that child process. It never reverts back to the name of
the Clipper EXE, even when the child process is finished and control is
returned to the EXE.

Does anyone know of a way to change the caption back?

Thanks --
Doug Schwarz

Norman Perelson

2005-01-07, 8:55 am


"Dave Pearson" <davep.news@davep.org> wrote in message
news:slrnctr76r.63o.davep.news@hagbard.davep.org...
>* E. Fridman <pm771.am@gmail.com>:
>
>
> Ralf Brown's legendary interrupt list; a must-have document for any DOS
> programmer <URL:http://www-2.cs.cmu.edu/~ralf/files.html>. Available in
> all
> sorts of formats. I'm sure The Oasis <URL:http://www.the-oasis.net/> has a
> Norton Guide database version.
>

<bg> Thanks for the information. I had assumed that "Ralf Brown" was a
brand of beer!

Kind regards
Norman


Dave Pearson

2005-01-07, 8:55 am

* Norman Perelson <norman@shoso.co.za>:

> <bg> Thanks for the information. I had assumed that "Ralf Brown" was a
> brand of beer!


LOL! After going back and re-reading my post I can see how that might work,
just. ;)

--
Dave Pearson | OSLib - Timeslice release functions.
http://www.davep.org/ | eg - Norton Guide reader for Linux.
http://www.davep.org/clipper/ | weg - Norton Guide reader for Windows.
http://www.davep.org/norton-guides/ | dgscan - DGROUP scanner for Clipper.
pete@nospam.demon.co.uk

2005-01-08, 3:55 am

In article <slrnctsm81.c9l.davep.news@hagbard.davep.org>
davep@davep.org "Dave Pearson" writes:

> * Norman Perelson <norman@shoso.co.za>:
>
>
> LOL! After going back and re-reading my post I can see how that might work,
> just. ;)


Newcastle Ralf? It has a certain ring to it... ;-)

Pete
--
"We have not inherited the earth from our ancestors,
we have borrowed it from our descendants."
Dave Pearson

2005-01-10, 3:55 pm

* E. Fridman <pm771.am@gmail.com>:

> Please pardon my ignorance, what do you mean by "Ralf Brown's"?


Ralf Brown's legendary interrupt list; a must-have document for any DOS
programmer <URL:http://www-2.cs.cmu.edu/~ralf/files.html>. Available in all
sorts of formats. I'm sure The Oasis <URL:http://www.the-oasis.net/> has a
Norton Guide database version.

--
Dave Pearson | OSLib - Timeslice release functions.
http://www.davep.org/ | eg - Norton Guide reader for Linux.
http://www.davep.org/clipper/ | weg - Norton Guide reader for Windows.
http://www.davep.org/norton-guides/ | dgscan - DGROUP scanner for Clipper.
E. Fridman

2005-01-10, 3:55 pm

Dave,


<<< IIRC it is one of the functions I cobbled together after trawling
thru Ralf Brown's for pointless little functions that might be fun to
write. >>>


Please pardon my ignorance, what do you mean by "Ralf Brown's"?
TIA, Eugene

Dave Pearson

2005-01-11, 8:55 am

* Norman Perelson <norman@shoso.co.za>:

> <bg> Thanks for the information. I had assumed that "Ralf Brown" was a
> brand of beer!


LOL! After going back and re-reading my post I can see how that might work,
just. ;)

--
Dave Pearson | OSLib - Timeslice release functions.
http://www.davep.org/ | eg - Norton Guide reader for Linux.
http://www.davep.org/clipper/ | weg - Norton Guide reader for Windows.
http://www.davep.org/norton-guides/ | dgscan - DGROUP scanner for Clipper.
Dave Pearson

2005-01-11, 3:55 pm

* Ross McKenzie <NoJunk_valusoft@optushome.com.au>:

> There is a function for changing the title in the OsLib collection, but it
> only works on Win95 systems if I remember correctly. Not sure if it was
> "collected" by Dave Pearson or written by him.


IIRC it is one of the functions I cobbled together after trawling thru Ralf
Brown's for pointless little functions that might be fun to write.

--
Dave Pearson | OSLib - Timeslice release functions.
http://www.davep.org/ | eg - Norton Guide reader for Linux.
http://www.davep.org/clipper/ | weg - Norton Guide reader for Windows.
http://www.davep.org/norton-guides/ | dgscan - DGROUP scanner for Clipper.
Doug Schwarz

2005-01-12, 8:55 am

Not so "pointless"! The window caption is the only thing still visible
when the program is minimized to a task bar icon. Once it changes, some
of my less-savvy users have trouble figuring out which of several icons
represents "their" program. Oh well ...

-- Doug

Dave Pearson wrote:
> * Ross McKenzie <NoJunk_valusoft@optushome.com.au>:
>
>
>
>
> IIRC it is one of the functions I cobbled together after trawling thru Ralf
> Brown's for pointless little functions that might be fun to write.
>


pete@nospam.demon.co.uk

2005-01-12, 3:55 pm

In article <slrnctsm81.c9l.davep.news@hagbard.davep.org>
davep@davep.org "Dave Pearson" writes:

> * Norman Perelson <norman@shoso.co.za>:
>
>
> LOL! After going back and re-reading my post I can see how that might work,
> just. ;)


Newcastle Ralf? It has a certain ring to it... ;-)

Pete
--
"We have not inherited the earth from our ancestors,
we have borrowed it from our descendants."
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com