English
Forum

Wallpapers - 2

 

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 ?
'--------------------------
'----- master-Program -----
'--------------------------
Ende% = 0
Window Style 1 | 2 | 4 | 8 | 16
Window Title "test"
CLS
ShowMax
'----- Wallpapers on Window adjust -----
var hfd& = Create("hSizedPic",-1,HGB$,Width(%hwnd),Height(%hwnd),0)
var hbild& = Create("Bitmap",%hwnd,hfd&,0,0)

HGB$ is the image

I hope your comes so clear....
 
09/01/11  
 



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
 
09/01/11  
 




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.
 
09/03/11  
 



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.
 
09/03/11  
 




E.T.
alas IF, werd you time couple Images send, circa Examples To building
 
XProfan X2
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...
09/03/11  
 




Stephie
thanks now has it worked, still a Blackout had.

but plenty standing Yes under Help not to the commands setwindowspos.
 
09/03/11  
 




E.T.
Stephie (03.09.11)
...still a Blackout had....


 
XProfan X2
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...
09/03/11  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.171 Views

Untitledvor 0 min.
E.T.06/24/23
Christof Neuß11/29/19
AndreasS12/12/18
Andre Rohland02/03/18
More...

Themeninformationen

this Topic has 3 subscriber:

Stephie (3x)
E.T. (2x)
iF (2x)


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