| |
|
|
- 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 ? CompileMarkSeparationDECLARE 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 |
|
|
| |
|
|
|
| |
|
- 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. |
|
|
| |
|
|
|
| @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 ??? |
|
|
| |
|
|
|
| I nothing Compri trouble. Compri still time too same Shutdown. is indeed a "Windows-Funktion". an 16.! only one <b>Beispiel</b>! |
|
|
| |
|
|
|
| @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 ? |
|
|
| |
|
|
|
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 ;) |
|
|
| |
|
|
|
Andreas Miethe
| Horst horn
@Jörg - for any Horst hornCASE 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 |
|
|
| |
|
|
|
Jörg Sellmeyer | I sach Yes: DrawIcon is unpraktisch. beget with Create("hIcon"...) one Iconhandle and point the one Staticcontrol To: CompileMarkSeparationVar 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. |
|
|
| |
|
|