Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
DrawText (user32)
.
C# Signature:
[DllImport("user32.dll")]
static extern int DrawTextEx(IntPtr hdc, StringBuilder lpchText, int cchText,
ref RECT lprc, uint dwDTFormat, ref DRAWTEXTPARAMS lpDTParams);
private const int DT_EXTERNALLEADING = 0x00000200;
private const int DT_CALCRECT = 0x00000400;
private const int DT_NOPREFIX = 0x00000800;
private const int DT_INTERNAL = 0x00001000;
private const int DT_EDITCONTROL = 0x00002000;
private const int DT_PATH_ELLIPSIS = 0x00004000;
private const int DT_END_ELLIPSIS = 0x00008000;
private const int DT_MODIFYSTRING = 0x00010000;
private const int DT_RTLREADING = 0x00020000;
private const int DT_WORD_ELLIPSIS = 0x00040000;
private const int DT_NOFULLWIDTHCHARBREAK = 0x00080000;
private const int DT_HIDEPREFIX = 0x00100000;
private const int DT_PREFIXONLY = 0x00200000;
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The DrawTextEx API
3/16/2007 8:23:47 AM - anonymous
A structure utilized by the [DrawTextEx] function.
9/9/2007 1:42:23 PM - -65.102.139.226
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).