Entwickler-Ecke

Windows API - xp schatten hinter kompo...


Murmel - Mi 15.01.03 16:08
Titel: xp schatten hinter kompo...
möchten einen Schatten hinter einem bestimmten panel erstellen, warum klappt das bloß nicht ;O( weiß jemand rat?

Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
const 
  CS_DROPSHADOW = $00020000; 
begin 
  inherited; 
  SetWindowLong(Panel1.Handle, GWL_Style, GetWindowLong(Panel1.Handle, GWL_Style) or CS_DROPSHADOW); 
end;

end.


(15.01. 15:11 Tino) Code-Tags hinzugefügt.