我可以根据光标位置获取路径吗?

编程入门 行业动态 更新时间:2024-10-26 02:28:02
本文介绍了我可以根据光标位置获取路径吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有什么方法可以根据光标位置获取路径,我的意思是假设我打开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?

更多推荐

我可以根据光标位置获取路径吗?

本文发布于:2023-07-20 05:07:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1164489.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:光标   可以根据   路径   位置

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!