Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call GetDialogBaseUnits API from VFP
Message
From
21/09/2006 02:52:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to call GetDialogBaseUnits API from VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01155826
Message ID:
01155826
Views:
131
How do I call these two API functions GetDialogBaseUnits and MapDialogRect in VFP. I'm trying to get the convert dialog units into pixels using the following formula:

pixelx = (dialogunitX * baseuntX) /4
pixely = (dialogunitY * baseuntY) /8

I need to calculate the baseunitX and baseunitY. I have readup and found that these two functions should give me the values to the two variables. Or is there another way to get these values from within VFP

Thanks in advance.
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Next
Reply
Map
View

Click here to load this message in the networking platform