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

What is cbSize?

Status
Not open for further replies.

KBBJ

Programmer
Jun 30, 2001
62
DK
I want to use an Api, called DrawTextEx. If I should be able to use this Api, I must declare a Type as DRAWTEXTPARAMS.
It looks like this:
Public Type DRAWTEXTPARAMS
cbSize As Long
iTabLength As Long
iLeftMargin As Long
iRightMargin As Long
uiLengthDrawn As Long
End Type
On Microsoft’s homepage, I can read that: "The cbSize specifies the structure size, in bytes."...Okay !? (It doesn’t help me reading that.)
Could someone please give an example on using this cbSize?
 
Was that just a little bit to complicated KBBJ??
Tanks John
From KBBJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top