Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MoveWindow

Status
Not open for further replies.

SteveD73

Programmer
Jan 5, 2001
109
GB
Hi

During runtime I need to resize a list control. Im doing this in the OnSize function using MoveWindow.

The problem is when I position the controls in the resource editor they are positioned using HLU units. When I move the controls with MoveWindow they are positioned using pixel values. How can I convert between pixels and HLU's? Does anyone know of any functions to do this?

Thank you
 
I don't know what is HLU, but I believe you need the functions ScreetToClient ans ClientToScreen. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top