Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10259 > unrolled thread

Hide ShellWindow

Started byzodcomag@gmail.com
First post2017-03-08 10:46 -0800
Last post2017-03-09 22:49 +0100
Articles 7 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Hide ShellWindow zodcomag@gmail.com - 2017-03-08 10:46 -0800
    Re: Hide ShellWindow D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-03-08 23:10 +0100
      Re: Hide ShellWindow zodcomag@gmail.com - 2017-03-08 23:26 -0800
    Re: Hide ShellWindow zodcomag@gmail.com - 2017-03-08 23:24 -0800
      Re: Hide ShellWindow Sjonnie D <sjonnied@gmail.com> - 2017-03-09 01:12 -0800
      Re: Hide ShellWindow D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-03-09 18:29 +0100
      Re: Hide ShellWindow "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-03-09 22:49 +0100

#10259 — Hide ShellWindow

Fromzodcomag@gmail.com
Date2017-03-08 10:46 -0800
SubjectHide ShellWindow
Message-ID<c1d058f9-0070-4529-b646-c1b546caf485@googlegroups.com>
I want to Hide() the shellWindow, but all the child windows should be seen.

Thanks for ideas.
Henry

[toc] | [next] | [standalone]


#10261

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2017-03-08 23:10 +0100
Message-ID<l801cclti17uff7c8dre34khmphk1k4sko@4ax.com>
In reply to#10259
Replying on message of Wed, 8 Mar 2017 10:46:50 -0800 (PST) from
zodcomag@gmail.com:


 Hello Henry,

>I want to Hide() the shellWindow, but all the child windows should be seen.
>

Could you explain that a bit more perhaps? From where would you select
child windows if there's no shell window visible?

Dick

[toc] | [prev] | [next] | [standalone]


#10264

Fromzodcomag@gmail.com
Date2017-03-08 23:26 -0800
Message-ID<83421bfa-a825-46d7-a0ae-a1ab017d6055@googlegroups.com>
In reply to#10261
On Wednesday, March 8, 2017 at 11:10:31 PM UTC+1, D.J.W. van Kooten wrote:
> Replying on message of Wed, 8 Mar 2017 10:46:50 -0800 (PST) from
> zodcomag@gmail.com:
> 
> 
>  Hello Henry,
> 
> >I want to Hide() the shellWindow, but all the child windows should be seen.
> >
> 
> Could you explain that a bit more perhaps? From where would you select
> child windows if there's no shell window visible?
> 
> Dick

ger

[toc] | [prev] | [next] | [standalone]


#10263

Fromzodcomag@gmail.com
Date2017-03-08 23:24 -0800
Message-ID<78e18068-d45e-46a1-8214-4cfd788a8949@googlegroups.com>
In reply to#10259
Dick thanks for your interest.

The idea is to have an "Alarm-App", which runs always, even if the main program is closed.

The "Alarm-App" should be invisible, and kick off only when the time-date has arrived.

Are there other ways to implement this idea?

Henry

[toc] | [prev] | [next] | [standalone]


#10265

FromSjonnie D <sjonnied@gmail.com>
Date2017-03-09 01:12 -0800
Message-ID<83c4ec88-80dc-4e33-b8de-058122a80e45@googlegroups.com>
In reply to#10263
Hi Henry,
Our Alarmapp is a datawindow that starts iconized.
oMainWindow:Show(SHOWICONIZED)

No window visible, just an icon next to your windows clock.

In the timer it performs several checks. As soon as an error occurs the icon will be changed and the window will pop up:

self:ModifyTrayIcon(NotOK{},101,"Runtime Check: error with "+cTooltip)  
self:ShowBalloonTrayTip(NotOK{},101,"Runtime Check","error with "+cTooltip,5000, NIIF_ERROR) 
SetWindowPos(self:Handle(),    iif(true, -1, -2), 0, 0, 0, 0,0x1 +0x2)  //alwaysontop
self:Show()   


Via a double click on the icon, you can also make the window pop up, which will show a status of all processes that are monitored.

METHOD TrayIconClicked(nID,lRightButton,lDoubleClick)  class RTCheckvenster
      
if nID==101
	
SetWindowPos(self:Handle(),    iif(true, -1, -2), 0, 0, 0, 0,0x1 +0x2)  //always on top !
self:Show()   
self:Timer(true) //update statusses
    	   
endif
    
Return true

I hope this give you a direction.
Regards,
John

[toc] | [prev] | [next] | [standalone]


#10268

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2017-03-09 18:29 +0100
Message-ID<d443ccd2ro3ei9ao3bg6vg1bldh8s2hkq5@4ax.com>
In reply to#10263
Replying on message of Wed, 8 Mar 2017 23:24:58 -0800 (PST) from
zodcomag@gmail.com:


 Hello Henry,

>Are there other ways to implement this idea?
>
Ah, your explanation makes it clear, I thought you wanted multiple
windows to choose from. But John has already replied. Insider message:
it is not too surprising they do it the same way as we do.


Dick

[toc] | [prev] | [next] | [standalone]


#10269

From"Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Date2017-03-09 22:49 +0100
Message-ID<eie104FeheU1@mid.individual.net>
In reply to#10263
Hi Henry,

Go to the homepage of the Bodensee User Group

http://www.voug-bodensee.net/Zip-Download/UniversalTimer.zip

There is a sample to program different alarms.

regards
Urs


<zodcomag@gmail.com> schrieb im Newsbeitrag 
news:78e18068-d45e-46a1-8214-4cfd788a8949@googlegroups.com...
> Dick thanks for your interest.
>
> The idea is to have an "Alarm-App", which runs always, even if the main 
> program is closed.
>
> The "Alarm-App" should be invisible, and kick off only when the time-date 
> has arrived.
>
> Are there other ways to implement this idea?
>
> Henry 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web