| |
|
|
 Meister Propper | Hi,
i'm new here and would like first time any cordial begrüßen!
in the Zuge of my Ausbilung be I with XProfan in Contact come and now have I a problem on the I do not More moreover knows.
Perhaps is it integrally simply (i hope so ) . i want one Image supra right on my Mainwindow Show let.
unfortunately disappears it always if I z. Bsp. on a Button click, the window vergrößere, shift, one other Window drüber lay ...
gives it a commands the vielleich very the mach I would like, means simply the image supra right indicating, alike what comes?
thanks already time beforehand ... |
|
|
| Es gibt keine dummen Fragen, nur dumme Antworten  | 06/16/09 ▲ |
|
|
|
|
 | Regards back!
Please gib your Programming-Environment [...] on, The Solutions are often adjusted.
here helps you well one create("Bitmap"... [...] [...] . |
|
|
| |
|
|
|
 Meister Propper | the went but quick ...
I have XProfan 11.2 with the XProfed 2.0 in use.
Related to the Create(Bitmap ... Have so did i already time probiert, but has unfortunately neither worked.
I have The strong supposition, that it on the place in the code lying, where I the commands settle must,
there the image Yes startup displayed becomes, but even by the enhance, and move again disappears.
so be now first time in noon ... To circa 14:00 watch.
Regards M. Propper  |
|
|
| Es gibt keine dummen Fragen, nur dumme Antworten  | 06/16/09 ▲ |
|
|
|
|
 | Create("Bitmap" is here The right electoral, the control sorgt self for the it neugezeichnet becomes. the functions even so cool, that one so Games program can, How z.B. [...] . (How you see flimmert there nothing and it draw itself everything new too at Grössenändern the Fensters.)
I fürchte in this drop become You for a [...] not drumherum come.
such one Bitmap can You with setWindowPos too as an afterthought simply positionieren, z.B. with Changes the Fenstergrösse. |
|
|
| |
|
|
|
 Meister Propper | So I have the now time with Create(Bitmap ... attempts.
here the code: CompileMarkSeparation before standing yet: CompileMarkSeparationWindowStyle $003F
WindowTitle "Mein Programm"
Window %maxX + 5,202 - 842,622
Cls GetSysColor(15)
UseFont "MS Sans Serif",13,0,0,0,0
SetDialogFont 1
SetFormIcon "C:WINDOWSSYSTEM32MORICONS.DLL",48
SetTimer 1000
SetWindowPos %hwnd = 328,202 - 842,622;0
SetFormCursor on>
unfortunately happens at started the program nothing. the Image not displayed.
If I The same place one "print" set becomes this without Problems displayed.
know You vllt. already where the Error is, or which Info do you need yet?
Tags added |
|
|
| Es gibt keine dummen Fragen, nur dumme Antworten  | 06/16/09 ▲ |
|
|
|
|
 | this is no lauffähiger View source - difficult so To help.- look time [...]
but letting it really until downstairs end. there standing already, that otherwise only Grundsatzhilfstellung gewährleistet go can for what but the Helpfile (see Bitmap) zuständig is. - SetFormIcon ?
- Jpg-File?
because I even your Posting Edit had, Please Source code (How the Yes everywhere made becomes) with CompileMarkSeparation post. otherwise go Smilies and iFBBs and HTML therein konvertiert and the Abkopieren is too one Graus and unhübsch looks tuts too.
If one under Beginner-Questions one Topic verzappt then stand there supra but already The suitable Notes everybody can first wegklicken must. |
|
|
| |
|
|
|
 Dieter Zornow | your code Although not run, if one itself but the integral dull functions still everything. the Image disappears not at Überdecken the Fensters. CompileMarkSeparationWindowStyle $003F
WindowTitle "Mein Programm"
Window %maxX + 5,202 - 842,622
Cls GetSysColor(15)
UseFont "MS Sans Serif",13,0,0,0,0
SetDialogFont 1
SetFormIcon "C:WINDOWSSYSTEM32MORICONS.DLL",48
SetTimer 1000
SetWindowPos %hwnd = 328,202 - 842,622;0
SetFormCursor 0
var logo& = Create("hPic",-1,"LOGO.JPG")
Create("Bitmap",%Hwnd,logo&,200,200)
waitkey
deleteobj > logo&
|
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 06/16/09 ▲ |
|
|
|
|
 | Perhaps. too the Tipp, instead of "C:WINDOWS The Systemvariable $winPath use. |
|
|
| |
|
|
|
 Meister Propper | OK, thanks for Info with the View source ... Have not dran virtual ;D.
so far so well. It's all right ... I Have only yet the Phenomän, that if I the window big ziehe it of course the image on The place new draw, but not the image on the place before wegmacht. How can I the solve? CompileMarkSeparationWindowStyle $003F
WindowTitle "Mein Programm"
Window %maxX + 5,202 - 842,622
UseFont "MS Sans Serif",13,0,0,0,0
SetDialogFont 1
SetTimer 1000
SetWindowPos %hwnd = 328,202 - 842,622;0
declare logo&
WhileNot %key = 1
WaitInput
logo& = Create("hPic",-1,"LOGO.JPG")
Create("Bitmap",%Hwnd,logo&,%WinRight - %WinLeft - 90,1)
Es gibt keine dummen Fragen, nur dumme Antworten  | 06/16/09 ▲ | |
|
|
|
|
 |
|
|
| |
|
|
|
 Meister Propper | Jau, thanks 
it works pointed klappen should 
here now my View source: CompileMarkSeparationWindowStyle $003F
WindowTitle "Mein Programm"
Window %maxX + 5,202 - 842,622
UseFont "MS Sans Serif",13,0,0,0,0
SetDialogFont 1
SetTimer 1000
SetWindowPos %hwnd = 328,202 - 842,622;0
var my_logo& = Create("hPic",-1,"LOGO.JPG")
var logo& = Create("Bitmap",%Hwnd, my_logo&,%WinRight - %WinLeft - 90,1)
WhileNot %key = 1
WaitInput
SetWindowPos logo& = (%WinRight - %WinLeft - 90),1
Es gibt keine dummen Fragen, nur dumme Antworten  | 06/16/09 ▲ | |
|
|
|