开发者

how to Make a form to always stay in desktop...in vb.net c#

i want to make a form that is perfectly fixed in desktop...it d开发者_Python百科oesnt come when other application r opened and niether comes when the same form is clicked....stay fixed in desktop like icons in desktop....


http://www.vbforums.com/showthread.php?t=351533

Try that out? I think that is what you're looking for. I wasn't able to test it myself, but the description seems to match what you are looking for to the best of my understanding.


Try to use this:

[DllImport("user32")]
public static extern int  SetParent(int   hWndChild, int   hWndNewParent)

hWndChild is handle of your form and hWndNewParent is desktop handle

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜