Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8839 > unrolled thread
| Started by | Gunter <g.huebner@dsh-anklam.de> |
|---|---|
| First post | 2015-12-22 03:29 -0800 |
| Last post | 2015-12-22 14:37 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
How can I bring an application regular on top Gunter <g.huebner@dsh-anklam.de> - 2015-12-22 03:29 -0800
Re: How can I bring an application regular on top "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-12-22 14:37 +0100
| From | Gunter <g.huebner@dsh-anklam.de> |
|---|---|
| Date | 2015-12-22 03:29 -0800 |
| Subject | How can I bring an application regular on top |
| Message-ID | <00e3a522-570c-4fec-a1c5-347964762b19@googlegroups.com> |
I have got an application that consists of only one DialogWindow. How can I bring this application ragularly (timer) on top of the screen? Thanks for help. Gunter
[toc] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2015-12-22 14:37 +0100 |
| Message-ID | <ddt2bpFd80qU1@mid.individual.net> |
| In reply to | #8839 |
Hi Gunter, as folows: CLASS dlgTest INHERIT dlgTest_vo METHOD Init(oWindow,iCtlID,oServer,uExtra) CLASS dlgTest SELF:PreInit(oWindow,iCtlID,oServer,uExtra) SUPER:Init(oWindow,iCtlID,oServer,uExtra) SELF:PostInit(oWindow,iCtlID,oServer,uExtra) RETURN SELF METHOD pbClose() CLASS dlgTest SELF:EndDialog() KillTimer(SELF:Handle() , 999 ) GetAppObject():QUIT() // Wenn ein Dialog oder ein DataWindow das Hauptfenster ist, App beim Schliessen verlassen ! RETURN NIL METHOD PostInit(oWindow,iCtlID,oServer,uExtra) CLASS dlgTest SetTimer(SELF:Handle(), 999 , 5000 , 0 ) // Period of time to show the dialog RETURN SELF METHOD Dispatch(oEvent) CLASS dlgTest IF oEvent:Message==WM_TIMER SetForegroundWindow(SELF:Handle() ) // SetForeGround() first is important. Why? I don't know.... SELF:Show() ENDIF RETURN SUPER:Dispatch(oEvent) METHOD pbHide() CLASS dlgTest SELF:Hide() // Hide the dialog until next timer evvent RETURN NIL If you have problems, contact me by mail. Regards Urs "Gunter" <g.huebner@dsh-anklam.de> schrieb im Newsbeitrag news:00e3a522-570c-4fec-a1c5-347964762b19@googlegroups.com... >I have got an application that consists of only one DialogWindow. > How can I bring this application ragularly (timer) on top of the screen? > Thanks for help. > Gunter
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web