Autor Beitrag
Uwe.F.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 52

W7
D7 Ent. w/o NET
BeitragVerfasst: Mi 27.04.05 15:17 
Hallo Kollegen,

ich schreibe eine Miniapp ohne VCL und ohne die Unit Forms.
In eine Dialogbox bekomme ich den Text über

ausblenden Delphi-Quelltext
1:
 SetDlgItemText(Dialog, Objektindex  , pchar('Text'));					

und ein Icon über

ausblenden Delphi-Quelltext
1:
 SetClassLong( Dialog, GCL_HICON, LoadIcon( hInstance, 'IconName'));					

Wie aber bekomme ich eine Bitmap in die Dialogbox?
In der Dialogbox habe ich eine Bitmap mit dem Index 300 und dem Namen TOPIMAGE vorgesehen.
Ich habe keine brauchbare Anweisung gefunden . . .
Kann mir da jemand einen Tip geben?

Beste Grüße,
Uwe