Autor Beitrag
Heiko
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Mo 13.09.10 12:37 
Hallo,

ich brauche momentan ein Dummy-Handle, damit ich mir einen "Dummy"-RenderingContext erzeugen kann.

Nur wie erstelle ich mir das Handle?
ausblenden Delphi-Quelltext
1:
FShareHandle := CreateWindow(nilnil, WS_DISABLED, 0000000nil);					

liefert mir leider 0 zurück.

Gruß
Heiko
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 13.09.10 12:56 
Jep. Weil Du keine Window Class angegeben hast, bzw. keine Erzeugungsparameter für die Art des benötigten Kontextes.

Selbst wenn Du das nur als Dummy-Kontext brauchst, musst Du Windows sagen, um was für eine Art Fenster es sich handelt.

P.S.: 0 = Desktop :P Da hatte user profile iconLuckie mal nen schönen Beitrag bzgl. Repainting von Window 0 ;-)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.