| |
|
|
Stephie | Hi, have one Window and therein one Wallpapers. this Window becomes with Program Start maximiert and the Wallpapers properly yielded. click I now right supra on the viereck Button around the Window To verkleinern remaining the Wallpapers in its original Size it ought to itself but accommodate to the active Window. have yet nothing vergleichbares found, can me there time of/ one help ?
HGB$ is the image
I hope your comes so clear.... |
|
|
| |
|
|
|
| You could take advantage of the SetWindowPos on such one Bitmap the image mitskaliert:
Window Style 1 | 2 | 4 | 8 | 16
Window Title "test"
CLS
ShowMax
'----- Wallpapers on Window adjust -----
var hfd& = Create("hNewPic",640,480,0)
startPaint hfd&
usepen 0,5,$FF0000
useBrush 1,$FF
rectangle 0,0 - 640,480
EndPaint
var hbild& = Create("Bitmap",%hwnd,hfd&,0,0)
while 1
setwindowpos hBild&=0,0 - width(%hWnd),height(%hWnd)
repaint 1
waitinput
wend
end
|
|
|
| |
|
|
|
Stephie | Hello iF, somehow war I not there (Blackout). with your example have I only a red background and wars not my Image into. really is the wish integrally simply, but the Umsetzung hapert. Nimm one Wallpapers, beget one Window in the this Image attend should as background, at Start should the window always maximiert his (alike on welchem Monitor or Laptop it launched becomes), over The rechten Symbols supra on the Window should it How each others windows prg functions (minimize, close, The Size self to determine), but the Wallpapers should with (self to determine) always complete To see his. I have too no example "With Bild" into Unterlagen/Help found. |
|
|
| |
|
|
|
| the power my example already, the erkennst on the blue edge.
the Image always in that Window eingepasst.
there You no Image included have have I create("hNewPic"... taken instead of create("HPIC",-1,... but the can You Yes simply Change.
You can The Ausgabegröße the Bildes of such Bitmap-Control simply with setWindowPos to determine. |
|
|
| |
|
|
|
E.T. | alas IF, werd you time couple Images send, circa Examples To building |
|
|
| XProfan X2Grüß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... | 09/03/11 ▲ |
|
|
|
|
Stephie | thanks now has it worked, still a Blackout had.
but plenty standing Yes under Help not to the commands setwindowspos. |
|
|
| |
|
|
|
E.T. | |
|
| XProfan X2Grüß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... | 09/03/11 ▲ |
|
|
|