English
Forum

Message to come early..

 
- Page 1 -


The untenstehende code is only an example. shows but my trouble. After appeal and terminate the Papierkorbes (or of/ one others windows-function) should a action come off - here The Messagebox. unfortunately becomes the box but immediate viewed and then first becomes the wastebasket launched. How can I the Change ?
CompileMarkSeparation
DECLARE EE%,ende%,aufruf%
EE%=0
----------------------------------------------

PROC MELDUNG

    Messagebox("Es ist vollbracht !","Meldung",64)

ENDPROC

PROC STARTE_AUFRUF

    Papierkorb starten - Es kann auch eine andere Windows-Funktion sein - Das ist nur ein Beispiel
    WinExec("explorer /n,::{645FF040-5081-101B-9F08-00AA002F954E}",1)
    MELDUNG Der Aufruf soll erst nach dem Schliessen des Papierkorbes angezeigt werden

ENDPROC

----------------------------------------------
CLS
ende%=Create("Button",%hwnd,"Ende",10,10,100,25)
aufruf%=Create("Button",%hwnd,"Windows-Papierkorb",10,50,200,25)

WhileNot EE%

    WAITINPUT
    Case CLICKED(ende%):EE%=1
    Case CLICKED(aufruf%):STARTE_AUFRUF

EndWhile

end

thanks for Help
 
10/22/08  
 



 
- Page 1 -


After "Papierkorb" search?

In this case ought to one itself sooner so compensate, that The operation nunmal asynchon expires. (as too virtual is)

who so aimed however whom wastebasket "verwalten" would like, the should hold The wastebasket-APIs utilize.
 
10/22/08  
 



@iF
the was only one example -
it's about 15 different windows-functions, The optional launched go can and here should
to the close the jeweiligen function a action come off ! - Compri ???
 
10/22/08  
 



I nothing Compri trouble. Compri still time too same Shutdown. is indeed a "Windows-Funktion". an 16.! only one <b>Beispiel</b>!
 
10/22/08  
 



@rather iF
In one small Tool from of my feather go in the Menu 15 windows-functions available set. (the code for schwirrte here somewhere rum) - circa but with this Program Set("Autopaint",0) To bypass, must I a designed reason After the close the jeweiligen windows-function a defined Procedur Call (one part the surface (Icons) becomes namely by the new opened Window deleted) and this Procedur go these Icons again manufactured. so, How dankenswerterweise Roland me helped has, functions The thing now. Compri ?
 
10/22/08  
 




Jörg
Sellmeyer
and now any:
"Ich should in a anspruchsvollen and sensible erscheinenden Program no "DrawIcon" use, separate with Create() a handle produce and the a Static allocate!"
.
.
.
.
.
.
.
.
.
Amen!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/22/08  
 




E.T.

Jörg Sellmeyer: and now any:
"Ich should in a anspruchsvollen and sensible erscheinenden Program no "DrawIcon" use, separate with Create() a handle produce and the a Static allocate!"
.


In XP10 Have the lever then one Control allocated (allocate must, weils one Button with 2-zeiligem Text was), and Have the Dingens always "refresht", if I a waitinput-Loop back was.

Obs now in XP11 plainer goes, must I first time checken (habs first since Ner week) 
 
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...
10/22/08  
 



@Jörg - for any


CASE 1L$ > "":w32_DrawIcon(%hdc,340,265,ExtractAssociatedIcon(1L$+"\",1))


then mach time ;)
 
10/23/08  
 




Andreas
Miethe


Horst horn
@Jörg - for any

Horst horn
CASE 1L$ > "":w32_DrawIcon(%hdc,340,265,ExtractAssociatedIcon(1L$+"\",1))


then mach time ;)


understand of course not How the code with missing Parameters functions should, but so ought to it weg.

Horst horn
CASE 1L$ > "":w32_DrawIcon(%hdc2,340,265,ExtractAssociatedIcon(1L$+"\",1)):repaint
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
10/25/08  
 



 
- Page 2 -


@Andreas


understand of course not How the code with missing Parameters functions should,


The code functions, faith it me - this is only one statement been circa Jörg To show, as Icons called go
 
10/25/08  
 




Jörg
Sellmeyer
I sach Yes: DrawIcon is unpraktisch. beget with Create("hIcon"...) one Iconhandle and point the one Staticcontrol To:
CompileMarkSeparation
Var hIcon&=Create("hIcon","Shell32.dll",4)
Cls
Var hStatic& = Control("STATIC","shell32.dll,24",$50020003,10,10,32,32,%hwnd,2000,%hinstance)
SendMessage(hStatic&,368,hIcon&,0)
WaitInput
/pre>

Why can really Create("Icon"...) only with the names the XProfan-Icon fertigwerden. there would it still meaningfully, too same Handles anzunehmen.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/25/08  
 




Dieter
Zornow
w32_DrawIcon

Why at all through API , Why not over Profan, then ought to still ifs in the Mainwindow is nothing occur. Drawicon takes still too a handle on.

statement from the Help
DrawIcon n, X, Y
n - lever the Icons
X,Y - worth: Coordinates
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
10/25/08  
 



because I in this Program any drives in the system aufrufe and the Symbols for load. so un nu is jut -
Roland has me Yes a Tipp given, How I for my Tool so clear come.
Jürgen and Andreas having both the program and müssten on itself see, why I with "w32_DrawIcon " work.
 
10/25/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.494 Views

Untitledvor 0 min.

Themeninformationen



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