我可以根据光标位置获取路径吗? [英] Can I Get The Path Based On Cursor Position

查看:114
本文介绍了我可以根据光标位置获取路径吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以根据光标位置获取路径,我的意思是假设我打开3个文件夹,如D:\ vijay \ temp,c:\ system \ data,E:\ data \ \\ _directory,如果我将光标从我的应用程序移动到这些文件夹中的任何一个,我可以根据光标位置获取目录路径吗?我的应用程序是桌面应用程序(win32 / MFC(Doc / View架构))。

Is there any way can i get the path based on cursor position, what i mean suppose i open 3 folders like D:\vijay\temp, c:\system\data, E:\data\directory, if i move the cursor from my application to any of these folders, can i get the directory path?, based on cursor position. My application is desktop application (win32/MFC(Doc/View architecture)).

推荐答案

看起来你有一个类似的问题我回答此处 <无线电通信。 />


到目前为止编码了什么?
Looks like you have a similar question as I answered here.

What have coded so far?


这篇关于我可以根据光标位置获取路径吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆