English
Forum

@Messagebox and main window (strange behavior)

 

E.T.
Simple thing: Messagebox on the Program-Start and end,
CompileMarkSeparation
@Messagebox("Bitte schwarzen USB-Stick anstecken !!","USB-Stick nicht gefunden",262144 + 48)
...
@Messagebox("Bitte schwarzen USB-Stick abziehen !!","USB-Stick ist noch angesteckt !!!",262144 + 48)
end<
pre>

wants I first ne M-Box and then one Window (and to that Schluß ne M-Box) funzts:
CompileMarkSeparation
@Messagebox("Bitte schwarzen USB-Stick anstecken !!","USB-Stick nicht gefunden",262144 + 48)
cls
@Messagebox("Bitte schwarzen USB-Stick abziehen !!","USB-Stick ist noch angesteckt !!!",262144 + 48)
end<
pre>

Andersrum: first one Window and then The M-boxing working too:
CompileMarkSeparation
cls
@Messagebox("Bitte schwarzen USB-Stick anstecken !!","USB-Stick nicht gefunden",262144 + 48)
@Messagebox("Bitte schwarzen USB-Stick abziehen !!","USB-Stick ist noch angesteckt !!!",262144 + 48)
end<
pre>

now but the komische:
If I to the 2. Messagebox the Mainwindow destroy, comes too The 2. M-Box not any more:
CompileMarkSeparation
cls
@Messagebox("Bitte schwarzen USB-Stick anstecken !!","USB-Stick nicht gefunden",262144 + 48)
Destroywindow (%HWnd)
@Messagebox("Bitte schwarzen USB-Stick abziehen !!","USB-Stick ist noch angesteckt !!!",262144 + 48)
end
/pre>

or
CompileMarkSeparation
@Messagebox("Bitte schwarzen USB-Stick anstecken !!","USB-Stick nicht gefunden",262144 + 48)
cls
Destroywindow (%HWnd)
@Messagebox("Bitte schwarzen USB-Stick abziehen !!","USB-Stick ist noch angesteckt !!!",262144 + 48)
end
/pre>

I had but gladly a M-Box, after the %HWnd wech is !!
I can of course the %HWnd through
CompileMarkSeparation
to the Show the last M-Box "verstecken", understand but whom sense not.

an M-Box without Mainwindow is possible, if but once one %HWnd there was, and this destroy becomes, Why can I then no M-Box More on the screen bring ??

One bow ?? or so pseudo ?? or a deeper sense, ought to one me this explain... 

concerns neither only one with cls  erstelltes Mainwindow, with one with Window 800,600  erstelltem Window The same reaction.
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/27/10  
 



Destroywindow (%hWnd) "erzwingt" imho one End of program and its so pseudo. ^^
 
04/27/10  
 




RGH
iF, Beitrag=56925, Zeitpunkt=27.04.2010
Destroywindow (%hWnd) "erzwingt" imho one End of program and its so pseudo. ^^


very!

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
04/27/10  
 



@E.T.: so was my wish to Window Style 2048 emerged - if one complete without sichtbares hWnd works would like.
 
04/27/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.024 Views

Untitledvor 0 min.
Ernst06/14/16

Themeninformationen

this Topic has 3 subscriber:

iF (2x)
RGH (1x)
E.T. (1x)


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