English
Forum

%hdc -Content store with GDI

 

Thomas
Freier
because of the Bildtypen wished I gladly from the TwJpeg.dll on GDIPLUS and GDIP transfer.
How can I of %hdc or one Teilausschnitt a suitable Bilddatei (*.tif, *.png) produce?
with the Example of Andreas: GdiPlus Rotation Image Save picture Jpg turn
come I do not moreover, there several Objects be installed How in the example:
graphic - GDIPlus.dll benefit. JPG GIF TIF...GDIPlusImaging.prf
 
Gruß Thomas
Windows XP SP2, XProfan X2
09/18/07  
 



Perhaps. uses you the  [...]  what.
 
09/18/07  
 




Thomas
Freier
Yes, having me everything (almost) respected about.
The question is, becomes the image on > %hWnd estellt, so is too only this (How Belegungsplan-is.jpg) To Save or pieces of it?
If on one dialog over >MemDC& = CreateCompatibleDC(%HDC) the image prepares becomes, so has it no Menüzeile (How Belegungsplan-01.jpg).
however could I a >Refresch< nur über die Abfrage von %wmPaint veranlassen.
saw savage from. Fehlt here >%hdc2< ?
CompileMarkSeparation
Proc Load_ThumbJpg                                Laedt ein JPG-Bitmap  ins Nebenfenster

    Parameters Filename$,X&,Y&,w&
    Declare Jpg_Handle&,MemDC&,Bild&
    String TwJ_Name#,0 = Zw$
    TWJ_GetInfo(TwJ_Name#,TwJ_Breite#,TwJ_Hoehe#)
    Jpg_Handle& = TWJ_LoadThumbJpeg(TwJ_Name#,TwJ_Breite#,TwJ_Hoehe#,974,1,3,1,2)
    MemDC& = CreateCompatibleDC(%HDC)
    Bild& = SelectObject(MemDC&,Jpg_Handle&)
    BitBlt(Fenster2&, 0, 0, Long(TwJ_Breite#,0), Long(TwJ_Hoehe#,0), MemDC&, 0, 0, $CC0020)
    DeleteDC(MemDC&)
    DeleteObject(Bild&)
    DeleteObject(Jpg_Handle&)
    DIM bereich#,512

    WhileLoop GetLines(listview&)

        GetItemText(listview&,bereich#,0,(&Loop-1))
        x%=VAL(String$(bereich#,0))
        GetItemText(listview&,bereich#,1,(&Loop-1))
        y%=VAL(String$(bereich#,0))
        GetItemText(listview&,bereich#,2,(&Loop-1))
        ori$=Left$(Upper$(String$(bereich#,0)),1)
        GetItemText(listview&,bereich#,4,(&Loop-1))
        text$=trim$(Upper$(String$(bereich#,0)))
        StartPaint Element1&
        Orientation 0
        TextColor @RGB(15,15,31),-1
        case text$=BELEGT : LoadBmp redball.BMP,x%,y%,-1
        case text$=RESERVIERT :   LoadBmp grnball.BMP,x%,y%,-1
        EndPaint

    Endwhile

ENDPROC


149 kB
Hochgeladen:09/18/07
Downloadcounter110
Download
145 kB
Hochgeladen:09/18/07
Downloadcounter119
Download
 
Gruß Thomas
Windows XP SP2, XProfan X2
09/18/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

658 Views

Untitledvor 0 min.
Andre Rohland12/10/12
Edelpfuscher11/06/12
rumfruggel09/19/11

Themeninformationen

this Topic has 2 subscriber:

Thomas Freier (2x)
iF (1x)


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