u_sheets控件:
of_drawtabs方法中:
两处uo_paint.Drawtext(aul_hdc, istr_tabs[n].displaytext, lenA(istr_tabs[n].displaytext), istr_tabs[n].textrect, DT_END_ELLIPSIS)
修改为:
uo_paint.Drawtext(aul_hdc, istr_tabs[n].displaytext, -1, istr_tabs[n].textrect, DT_END_ELLIPSIS)
of_updatepoints方法中:
lnv_win32.GetTextExtentPoint32(aul_hdc, istr_tabs[n].displaytext, LEN(istr_tabs[n].displaytext), lstr_size)
修改为:
lnv_win32.GetTextExtentPoint32(aul_hdc, istr_tabs[n].displaytext, LENA(istr_tabs[n].displaytext), lstr_size)
w_tmp_resource中of_gettextwidth方法
lnv_win32.GetTextExtentPoint32(ll_dc, as_text, LEN(as_text), lstr_size)
修改为:
lnv_win32.GetTextExtentPoint32(ll_dc, as_text, LENA(as_text), lstr_size)
轉自:http://blog.csdn.net/gogir/archive/2009/02/07/3867255.aspx
posted on 2010-09-06 14:27
Ke 阅读(677)
评论(0) 编辑 收藏 所属分类:
powerBuilder