|
|
|
Найдите ошибку в 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&fpage=340&tid=2030710]: |
0ms |
get settings: |
7ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
61ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
37ms |
get tp. blocked users: |
2ms |
| others: | 216ms |
| total: | 359ms |

| 0 / 0 |
