Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

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.
 
Share this answer
 
Comments
Rex Miao 17-Feb-14 20:39pm    
Thanks bro.
I glance this article before and set my dialog transparent.
but didn't get deeper on that article.
now it can fit my needs, thank you very much

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900