English
Forum

View images let

 
Hello Frank,

how'bout as yet with of/ one function The it allows one GIF, JPG, BMP, WMF presentment simply so on-screen Show To let! as the of profane known loadbmp commands does?

I have me moreover a procedure written:

proc loadpic
parameters file$, posx%, posy%, copymode%
declare ExternHDC&, x&, y&
ExternHDC&=LoadExtImage(Addr(file$))
x&=GetBmpWidth(ExternHDC&)
y&=GetBmpHeight(ExternHDC&)
CopyExtBmp(%hdc,posx%,posy%,x&,y&,ExternHDC&,0,0,0)
FreeExtBmp(ExternHDC&)
endproc

know not whether the too rather went!

Sascha
 
04/19/04  
 



Hello Sascha,

is but already bad short, your procedure.
sincere said stops I not for meaningfully, another Extra function this incorporate.

though should You yet following row install (directly under the others CopyExtBmp()):

CopyExtBmp(%hdc2,posx%,posy%,x&,y&,ExternHDC&,0,0,0)

so becomes the image too in Profans Bildschirmkopie copies. If now the Mainwindow time covers watts, restauriert Profan your Hintergrundsbild again automatically.

Greeting, Frank
 
04/19/04  
 



Yes this is already right short but the of me written proc is slower as z.b. the loadbmp befehler of profane! can the his?

thanks The row I will yet install!
 
04/19/04  
 



Hi,

no idea, teste it still from.

StartWatch()
...
Print ReadWatch() amount Millisekunden The ... gedauert has

Sincerely,
Frank
 
04/19/04  
 



naja ok you're right the only minimal little millisekunden More! moreover are the Yes gif and jpg files! The can profane anyhow not reading!

is ok frank I use my proc!
 
04/19/04  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.307 Views

Untitledvor 0 min.
H.Brill01/05/19
AndreasS12/27/18
Tommy01/27/17
Wilfried06/10/16
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (5x)


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