English
Forum

User Messages SetUAnswer

 

Jörg
Sellmeyer
either I versteh there what wrong or it not working. at least functions not so, How I it expects Have.
%umessage gives always only 16 (means $10) out what about me had expects, that they %hwnd ausspuckt.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06/02/18  
 




Michael
W.
&UWnd becomes supplied.

though will need you here a Constant and no Variable.

with SetUAnswer() give You as Transmitter a worth to, the zurückgeliefert go should. the can then naturally no Variable his, The first at appear the Ereignisses generiert becomes.

Standardmäßig becomes the appear of ~wmClose always the value 16 give back, except You lay with SetUAnswer a others worth solid.
 
Alle Sprachen
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
06/07/18  
 




Michael
W.
Tja, denkste!!!
User Messages $10
Cls
SetUAnswer($10, 2000)

While 1

WaitInput
Print %umessage

If %umessage = $10

Print "the end naht (16)"
Print "uMessage:",%uMessage
Print "ulParam:",&ulParam
Print "uwParam:",&uwParam
Print "uWnd:",&uWnd
SetUAnswer($10, 2000)
Break

If %umessage = 2000

Print "the end naht (2000)"
Print "uMessage:",%uMessage
Print "ulParam:",&ulParam
Print "uwParam:",&uwParam
Print "uWnd:",&uWnd
Break

ElseIf %umessage = %hwnd

Print "so works not :("
Break

EndIf

Wend

Print "outside",%umessage
WaitInput

self so will's not
User Messages $10
Cls
SetUAnswer($10, 2000)

While 1

WaitInput
Print %umessage

case IsUserMessage(2000) : Print "2000 lying on"
case IsUserMessage(16) : Print "16 lying on"

If %umessage = $10

Print "the end naht (16)"
Print "uMessage:",%uMessage
Print "ulParam:",&ulParam
Print "uwParam:",&uwParam
Print "uWnd:",&uWnd
SetUAnswer($10, 2000)
Break

If %umessage = 2000

Print "the end naht (2000)"
Print "uMessage:",%uMessage
Print "ulParam:",&ulParam
Print "uwParam:",&uwParam
Print "uWnd:",&uWnd
Break

ElseIf %umessage = %hwnd

Print "so works not :("
Break

EndIf

Wend

case IsUserMessage(2000) : Print "hm, 2000 lying on"
case IsUserMessage(16) : Print "hm, 16 lying on"

Print "outside",%umessage
WaitInput

 
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
06/07/18  
 



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.793 Views

Untitledvor 0 min.
H.Brill05/20/23
Stringray01/05/22
RudiB.05/10/21
iF10/31/20
More...

Themeninformationen

this Topic has 2 subscriber:

Michael W. (2x)
Jörg Sellmeyer (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