hi i have decided to go with using vertices, so far i have designed a custom form, which i can place via...

Code:
  TestDialog := TNemesisDialog.Create(5,35,150,250);
like so:



next thing i want todo is make buttons etc, but small question is, is there a special trick to detecting mouse over etc, when dealing with directx?

at the moment i have jus wrote a small function todo the job

[pascal]
function TNemesisControl.TestHit(H, W: Integer): boolean;
var
m: TPoint;
begin
Result := True;
GetCursorPos(m);
ScreenToClient(hWindow, m);

if (m.X < iPosX) or (m.X > iPosX + W) or (m.Y < iPosY) or (m.Y > iPosY + H) then Result := False;
end;
[/pascal]


thanks in advance,

-MM