bitwise operation doesn't work, why?
Hi, I try to do a bitwise operation to see if Alignment containt
DT_LEFT, but it always return false. Anyone have an idea why this
procedure TForm1.Button1Click(Sender: TObject);
Var Alignment : Cardinal;
Alignment := DT_LEFT and DT_VCENTER;
If (Alignment And DT_LEFT) <> 0 Then Caption := 'yes' else Caption