Ну на С++ , у меня получилось без проблем
GetDeviceCaps( pd.hDC, // device-context handle
HORZSIZE // index of capability to query
); На Аxapte тоже ---
int h;
h= struct.dWord (#offset16);
info(int2str(struct.dWord (#offset16)));
h= WinAPI::getDeviceCaps(h,4);
//4 -я просто число вогнал вместо HORZSIZE
|