Thanks, first problem solved.
And how to know the height of the top border of a normal sizeable form ?
OOps, first prob not solved, i get a form without border with bsnone but i cant resize the form (i mean, with the cursor, not allow to resize if i go near the border).