|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Jun 2002
Città: Dublin
Messaggi: 5989
|
[Delphi] ChoosePixelFormat non va...
Devo creare una finestra che supporta Double Buffering, e ChoosePixelFormat non funziona:
Codice:
var
pfd: PPixelFormatDescriptor;
pfr: Integer;
begin
New(pfd);
pfd.nSize:=sizeof(pfd); pfd.nVersion:=1;
pfd.dwFlags:=PFD_DOUBLEBUFFER or PFD_DRAW_TO_BITMAP {PFD_DRAW_TO_WINDOW};
pfd.iLayerType:=PFD_MAIN_PLANE;
pfr:=ChoosePixelFormat(GetDC(Handle), @pfd);
if not (pfr = 0) then
SetPixelFormat(GetDC(Handle), pfr, @pfd)
else
ShowLastError; //una mia funzione
__________________
C'ho certi cazzi Mafa' che manco tu che sei pratica li hai visti mai! |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Jun 2002
Città: Dublin
Messaggi: 5989
|
Il sistema mi dice "impossibile trovare il modulo specificato".
Da cosa dipende?
__________________
C'ho certi cazzi Mafa' che manco tu che sei pratica li hai visti mai! |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 02:35.



















