如何将MFC对话框放在桌面上方,但在destop的任何快捷方式图标下 [英] How can I put MFC dialog above desktop but under any shortcut icon of destop

查看:168
本文介绍了如何将MFC对话框放在桌面上方,但在destop的任何快捷方式图标下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有



如何在桌面的底部进行对话?



这意味着我将在桌面和拍摄图标之间放置对话框。



这样我可以点击我对话框下的那些图标?



可以吗?



我发现代码设置为桌面版的孩子。



但是当我执行它时,我的对话框就消失了。



这个功能实际上是什么?



以下是我的代码

Dear All

How can I make my dialog in the buttom of the desktop?

Which means I will put my dialog between desktop and shotcut icons.

So that I can click those icons which is under my dialog?

Is that posiable?

I found code to set to the child of desktop.

But when I execute it, my dialog just disappear.

What that functionality actully is?

below is my code

CWnd *hw;
	hw=GetDesktopWindow();
	hw=hw->GetWindow(GW_CHILD);
	CWnd *hwnd2=this->SetParent(hw);





提前感谢每个人。



Thanks every body in advance.

推荐答案

我认为你不能把它放在图标下面,因为你无法控制桌面。但是,您可以使用分层窗口 [ ^ ],这可能会让您有一定的灵活性。
I don't think you can put it under the icons, since you do not have control of the desktop. However you could use a Layered Window[^], which may allow you some flexibility.


这篇关于如何将MFC对话框放在桌面上方,但在destop的任何快捷方式图标下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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