- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
That's slick. I've tried out the Dialog Test example and I like it. That's half of my problem - I'm also trying to create the bit map in memory and then display it. I'm new to this, I'm mostly a scientific programmer. Do you have any examples of programs that do what I'm trying to do?
steve
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Well, DialogTest sample does that as well, using DLG_DRAWITEM callback, so you can draw on the static control's surface in run-time (the image in the sample is very simple, I admit).
On the XFT page of my home page you can find XFTGDI module and XDblBuffer sample. They demonstrate how to create an off-screen image and "copy it" onto the window DC. XDblBuffer does that for the main window, but you can combine the technique with DLG_DRAWITEM callback (DLG_DRAWITEM is actually sent when an owner-drawn control receives a WM_PAINT, so the principle is the same). XFTLite sample application also shows how you can render the image on the printer or save it into a .bmp or .wmf file.
(P.S. I forgot to mention on the page that you have to make sure that
!DEC$DEFINE XLITE is the first line in XFTGDI.f90 if you want to use it in your projects)
Jugoslav
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite