msdn上没找到很详细地描述
我再用的时候发现单击一个与treeitem的右侧(垂直高度相同,水平靠右,单击点确实在treeitem之外)时,可以得到这个treeitem,但是nFlags返回的数是32;与我直接点那个treeitem返回的是2or4不同,是什么原因呢?
我再用的时候发现单击一个与treeitem的右侧(垂直高度相同,水平靠右,单击点确实在treeitem之外)时,可以得到这个treeitem,但是nFlags返回的数是32;与我直接点那个treeitem返回的是2or4不同,是什么原因呢?
解决方案 »
- windows消息的格式化显示
- 想在视频上画图,该如何实现?
- 有关于extern
- 我作了一个ATL程序,可以在ActiveX Control test container 里面正常运行,可是不能在ie里面显示
- 难题!!如何向TimeProc传自己的参数?
- 请问怎样在程序的执行过程中动态的用一个menu替换另一个menu ,我照书上的试了,不行
- 高手求救 怎样利用媒体播放器控件得到影片的第一帧的图片 热心就给分!!!!
- 再贴:哪位VC程序员有过在VC中嵌入汇编的编程经验?一个很小的问题,可以给很多分!
- 1>BSCMAKE: error BK1506 : 无法打开文件“.\Release\AudioDlg.sbr”: No such file or direct
- DrawText()与TextOut()有什么区别
- 请问:为什么我按F1,帮助文件不显示出来?
- 请问以下有没有内存泄露
Variable that receives information about the results of a hit test. This member can be one or more of the following values: TVHT_ABOVE Above the client area.
TVHT_BELOW Below the client area.
TVHT_NOWHERE In the client area, but below the last item.
TVHT_ONITEM On the bitmap or label associated with an item.
TVHT_ONITEMBUTTON On the button associated with an item.
TVHT_ONITEMICON On the bitmap associated with an item.
TVHT_ONITEMINDENT In the indentation associated with an item.
TVHT_ONITEMLABEL On the label (string) associated with an item.
TVHT_ONITEMRIGHT In the area to the right of an item.
TVHT_ONITEMSTATEICON On the state icon for a tree view item that is in a user-defined state.
TVHT_TOLEFT To the left of the client area.
TVHT_TORIGHT To the right of the client area. #define TVHT_ONITEMRIGHT 0x0020 // 0X20 就是 32 了,你不在ITEM 的 右方点的鼠标吗?#define TVHT_ONITEMICON 0x0002 //
#define TVHT_ONITEMLABEL 0x0004 // 2 OR 4 当然是如他们自己的定义的含义了!还有什么不明白? :)
这些宏是在那里定义的?