| |
|
|
Sato Pinto | Hello on all sides Normaleweise use I a Presentation of Andreas Miethe circa bmps on Buttons To lay, but now wished I XProfan PicButton testing and place solid the it with GetFocus not functions but well with clicked whom I in my Program not benefit can. gives it a Solution PicButton and @Getfocus ?? CompileMarkSeparation greeting Sato |
|
|
| |
|
|
|
Jörg Sellmeyer | Hello Sato, The problem isn't Clicked, separate your code.
you have The variable the Bildhandle zugeordnet. you mußt but whom Button inquire, if you a Raktion having want: CompileMarkSeparation |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/04/08 ▲ |
|
|
|
|
Sato Pinto | |
|
| |
|
|
|
Jörg Sellmeyer | Hello Sato,
No, so is it still not correctly.. You points the variables ende& now two Objects To. the is not. so can You, the Bildhandle end the program not any more enable. you have now too the Button the incorrect lever transfer. Perhaps only one Kopierfehler? Create("HPIC",...) must a Own Variable having (in my example hPic&) and the Button must ditto a Own Variablenbezeichnung receive. in a, why you now _dlg& drin have, but I suspect, the Button should on one dialog lying.
Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/04/08 ▲ |
|
|
|
|
| Jörg Sellmeyer
the is not. so can You, the Bildhandle end the program not any more enable. you have now too the Button the incorrect lever transfer.
as i meant the one everything again destroy ought to what too created, meant You, that this about one rumour be because it too z.B. wealthy a Parent of Controls To destroy.
you should always everything again destroy what created. WIE one it destroy (z.B. over the parent) is another thing...
PS: I know the Sato here whom Error but vlt. from anderem Grunde installed having - But imho too Sato was to the You meant that the Parentzerstören ausreicht.
Beginner should always in the back of the head having that the Own Program too The Order wiederherzustellen has. If windows hiervon a Großteil in the meantime self undertaking, then likes the not more than helpful his. |
|
|
| |
|
|
|
Jörg Sellmeyer | Hello David, in the first have I from you too yet none code seen, in the You any Controls destroy, secondly goes it not for a Control separate for a GDI-Objekt, namely the Bildhandle. The go of my Wissens Windows self-contained treats and occupy to termination the Progamms furthermore memory. i'm furthermore sure, that one Buttons and others "normale" Fensterobjekte not explizit manage must. whether the with Handles for Bitmaps u.s.w. the case is would Perhaps time a attempt worth. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/04/08 ▲ |
|
|
|
|
| Yes we talk tidy together past. It's all right too I do not therefore, that Controls any particular destroy belong.
it went me only therefore one Totalanfänger einmalig declared to have, that one items, which one created, ("gefälligst") again eliminating ought to.
the one Controls destroy can, in the to the Parent destroy, speaks there not against it, since the Controls hierbei Yes likewise destroy go. "Immer" works the imho but neither, faith then not, if the Parentcontrol not the own Process angehört. (i'm me hierbei but really not sure, my but Schonmal a Negativerfahrung made to have)
Jörg Sellmeyer
Hello David, in the first have I from you too yet none code seen, in the You any Controls destroy,
Nunu! CompileMarkSeparation have I certainly Schonmal posted.
Jörg Sellmeyer
secondly goes it not for a Control separate for a GDI-Objekt, namely the Bildhandle. The go of my Wissens Windows self-contained treats and occupy to termination the Progamms furthermore memory.
hang imho from the Windowsversion ex. under XP can well nothing whom own Process survive let except Files, means too z.B. no hPics. hPics of Bitmaps* survive (naturally) the destroy of Bitmaps*.
*Statics |
|
|
| |
|
|
|
Jörg Sellmeyer |
It's all right too I do not therefore, that Controls any particular destroy belong.
OK, then talk we not together past. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/04/08 ▲ |
|
|
|
|
Sato Pinto | Hello people
Please therefore not excite, it's not worth.....
Jörg, Yes _dlg& is a dialog lever, the Button lying on the dialog. I have whom incorrect copy and past erwischt, in my code is it so CompileMarkSeparation and hope the it so correctly is
greeting Sato |
|
|
| |
|
|
|
Jac de Lad | |
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 08/04/08 ▲ |
|
|
|
|
Jörg Sellmeyer | and again the Vollständigkeit halber: the DestroyWindow(ende&) isn't necessary. If the dialog destroy becomes, b.z.w. the Mainwindow end the Program go automatically any Controls with destroy and occupy no Resources More. the Bitmaphandle must on destroy go, there otherwise the memory for not again released becomes.
and excite go we certainly not, gell David?
...
David??
...
...
D A V I D !!! |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/04/08 ▲ |
|
|
|
|
| i'm completely spare each Verstandes and eachone excitement. |
|
|
| |
|
|