NigelShaw
Registered User.
- Local time
- Today, 14:25
- Joined
- Jan 11, 2008
- Messages
- 1,575
Hi Guys,
just cant my head into gear today....... i am trying to set 4 points on a form. i am using RECT
i am setting this
i can get a return from the form of 4 co-ordinates Left, Right, Top Bottom. These are the co=ordinates for the Client Form ( inside the pop up window ) but i need to set the co-ords by using a rectangle instead. I just cannot get my head into working out how get the Left, Right, Top, Bottom by using the rectangle on the form.
Any Ideas anyone that you could help me with?
im thinking deducting something from RECT but its not computing with me. Must have been a long week lol
any help really really appreciated.
cheers
Nidge
just cant my head into gear today....... i am trying to set 4 points on a form. i am using RECT
Code:
Private Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
i am setting this
Code:
Dim FrameRect As RECT
i can get a return from the form of 4 co-ordinates Left, Right, Top Bottom. These are the co=ordinates for the Client Form ( inside the pop up window ) but i need to set the co-ords by using a rectangle instead. I just cannot get my head into working out how get the Left, Right, Top, Bottom by using the rectangle on the form.
Any Ideas anyone that you could help me with?
im thinking deducting something from RECT but its not computing with me. Must have been a long week lol
any help really really appreciated.
cheers
Nidge