|
|
|
Вывести текст с координатами
|
|||
|---|---|---|---|
|
#18+
Как вывести текст в PictureBox с заданными координатами. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.04.2006, 14:13 |
|
||
|
Вывести текст с координатами
|
|||
|---|---|---|---|
|
#18+
API функция DrawTextEx ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.04.2006, 14:30 |
|
||
|
Вывести текст с координатами
|
|||
|---|---|---|---|
|
#18+
А примерчик мона ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.04.2006, 14:40 |
|
||
|
Вывести текст с координатами
|
|||
|---|---|---|---|
|
#18+
вот те Апплеман ======================== DrawTextEx VB Declaration Declare Function DrawTextEx& Lib "user32" Alias "DrawTextExA" (ByVal hDC As_ Long, ByVal lpsz As String, ByVal n As Long, lpRect As RECT, ByVal un As Long,_ lpDrawTextParams As DRAWTEXTPARAMS) Description Similar to DrawText with additional capabilities. Use with VB No problem Parameter Type/Description hDC Long—A handle to a device context on which to draw. lpsz String—The text string to draw. n Long—The number of characters to draw. If the entire string is to be drawn (up to the null terminator), this may be set to –1. lpRect RECT—The formatting rectangle to use for drawing (logical coordinates). un Long—An array of flag bits that determines how the drawing will be performed. Includes all of the constants listed in Table 11.12 plus additional constants listed in Table 11.13. lpDrawTextParams DRAWTEXTPARAMS—A structure containing additional drawing parameters. This structure is described in Appendix B. Return Value Long—The height of the text drawn. Platform Windows 95, Windows NT 4.0 Table 11.13 Additional Text Drawing Flags Flag Constant Description DT_EDITCONTROL Display mimics that of a multiline edit control. A partially visible line is not displayed. DT_END_ELLIPSES The end of a line is replaced with ellipses if the string will not fit into the rectangle. For example, …. DT_PATH_ELLIPSES If the string contains the \ character, ellipses are substituted within the string in order to make it fit into the rectangle. For example: a long path name might be displayed thus— c:\windows\….\doc\readme.txt DT_MODIFYSTRING If DT_ENDELLIPSES or DT_PATHELLIPSES is specified, the string is modified to match the string actually displayed. DT_RTLREADING Draws text right to left if the font selected into the device context is Hebrew or Arabic. ========================================== ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.04.2006, 14:48 |
|
||
|
|

start [/forum/topic.php?fid=60&msg=33656045&tid=2166072]: |
0ms |
get settings: |
5ms |
get forum list: |
15ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
168ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 227ms |
| total: | 465ms |

| 0 / 0 |
