|
|
|
Найдите ошибку в DrawText()
|
|||
|---|---|---|---|
|
#18+
Visual C++ 6.0 int TextWidth2(char *s, void *hDC){ // длина текста в пикселях // s - текст; hDC - контекст рисования RECT r; DrawText(hDC,s, -1, &r, DT_CALCRECT); // автор правильно записал return r.right-r.left; } error C2664: 'DrawTextA' : cannot convert parameter 1 from 'void *' to 'struct HDC__ *' СПАСИБО ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2006, 17:40 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=33906606&tid=2030710]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
39ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
29ms |
get tp. blocked users: |
1ms |
| others: | 209ms |
| total: | 318ms |

| 0 / 0 |
