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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get the dimensions of a string?

Status
Not open for further replies.

AmkG

Programmer
May 12, 2001
366
PH
Okay, I have a text string. Now, I have a text font for this text string. Also, I have a Display Context to output into. NOW, HOW DO I KNOW HOW WIDE THE STRING WILL BE ON THE SCREEN?????

"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
What's MSDN? "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
Greetinx!

The infos about the func you can get from help which is given with C++ lang. Happy programming!))
 
Unfortunately the lang I'm using is assembly. Which means I don't have that documentation. "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
Say... anyone know of some kind of reference book or something I might use to get info on SDK routines, other than having to buy a C++ package? All I really need is a description of the arguments to pass. "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
You can download the API documentation from What you need to do is download the Platform SDK. (you do not have to be a subscriber). This contains all of the Windows API reference material.
Hope this helps...
 
How large would that be (MB)? Have slow internet access... "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top