English
Forum

Program terminate and restart

 

Thomas
Freier
with RUN wished I the program terminate and restart and It's all right not, if RUN to END comes. inside the Loop reacted the commands How expects.
CompileMarkSeparation
Gruß Thomas
Windows XP SP2, XProfan X2
02/21/11  
 



Hi,

the lying imho on it that the program not at all until Run comes:
CompileMarkSeparation
cls

while 1

    WaitInput
    case %key=2:BREAK

EndWhile

messageBox "","",0

2 it watts in a Dialogbox or. one Dialog-Window the System Menu doubleclicked, or. "Schließen" select


means from the hWnd one dialog make and It's all right:
CompileMarkSeparation
 
02/21/11  
 




Thomas
Freier
thanks for hint, that at leave the Loop over case %key=2:BREAK The command to the EndWhile not any more worn out go. there I had Yes mostly yet: FreeDll, Dispose, DeleteObject, etc. . there helps then only over Button or User Messages 16 the program To terminate.
CompileMarkSeparation
cls
UserMessages 16

while 1

    WaitInput
    case %UMessage = 16:BREAK

EndWhile

'run "Endlos1.exe"
messageBox "","",0
Gruß Thomas
Windows XP SP2, XProfan X2
02/21/11  
 



Thomas suitor (21.02.11)

thanks for hint, that at leave the Loop over case %key=2:BREAK The command to the EndWhile not any more worn out go.


it was the incorrect Fensterstil tuned and one needed neither absolutely User Messages.

its Yes "ausreichend" hWnd-Fensterstil 512 To settle and already can %key=2 inquire.
 
02/21/11  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.563 Views

Untitledvor 0 min.
H.Brill11/18/23
Torben Nissen05/02/20
Christof Neuß10/30/19
W.L.07/05/17
More...

Themeninformationen

this Topic has 2 subscriber:

iF (2x)
Thomas Freier (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie