在使用ListCtrl时,怎样在LVS_ICON方式下,得到当前客户区显示的item范围?我用GetTopIndex和GetCountPerPage试了一下,好像只在LVS_REPORT方式下才有用。不知道另外有什么办法,请各位指教。
解决方案 »
- 关于用SOCKET实现广播功能的问题!求解
- 请教滚动条的OnVScroll问题
- ********继续散20分,第10个人进来后结贴,为的是细水长流**********
- 问个关于webbrowse的问题
- 多线程ping大家是怎么实现的,小弟碰到了一些问题。(内有我的实现思路)
- 求助:串口和modem拨号的程序中拨号只能拨一次
- 怎样实现在局域网内向各台机子发送消息?
- 今天生日,散分
- 请教关于VBO的问题:
- 我的vc为什么不支持BOOL(大写)?
- Rapid SQL 7.1.0(build1927)与visual assist 6.0的注册机,一个二百分。
- 哪位大侠还记得怎么写批处理程序的语句?现需要写个简单的类似autoexec.bat的文件。请帮忙。
BOOL GetItemRect( int nItem, LPRECT lpRect, UINT nCode ) const;Return ValueNonzero if successful; otherwise zero.ParametersnItemThe index of the item whose position is to be retrieved.lpRectAddress of aRECT structure that receives the bounding rectangle. nCodePortion of the list view item for which to retrieve the bounding rectangle. It can be one of these values: LVIR_BOUNDS Returns the bounding rectangle of the entire item, including the icon and label.
LVIR_ICON Returns the bounding rectangle of the icon or small icon.
LVIR_LABEL Returns the bounding rectangle of the item text.
Res