Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8840
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: How can I bring an application regular on top |
| Date | Tue, 22 Dec 2015 14:37:28 +0100 |
| Lines | 49 |
| Message-ID | <ddt2bpFd80qU1@mid.individual.net> (permalink) |
| References | <00e3a522-570c-4fec-a1c5-347964762b19@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net AQdj82YqN8aYj+M/QuvkYAuY6kdN95njMh/aD08fgFcutuWLpf |
| Cancel-Lock | sha1:/IK9D0+3/l8khkG3RCkT/MhKrzE= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-EsetId | 37303A2992966F65667460 |
| X-EsetScannerBuild | 27313 |
| Xref | csiph.com comp.lang.clipper.visual-objects:8840 |
Show key headers only | View raw
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
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web