Why do i get a error? i dont know RECT really.
VB Code:
RECT lbl; lbl.left = 20; lbl.top = 100; lbl.right = 200; lbl.bottom = 30; ::DrawText(NULL,"Jason",-1,lbl,DT_CENTER); E:\Program Files\Microsoft Visual Studio\MyProjects\class2 test\main.cpp(48) : error C2664: 'DrawTextA' : cannot convert parameter 4 from 'struct tagRECT' to 'struct tagRECT *'




Reply With Quote