tbener
Jul 15th, 2007, 07:42 AM
Hi,
I'm trying to develope some tool that is located on the desktop like a stikynote. which means it doesn't behave like a normal window. doesn't get minimized and is always behind all other windows.
I tried to use SetParent on a UserControl with the GetDesktopWindow.
It lookes good - it puts the usercontrol embeded in the desktop BUT - the usercontrol doesn't get the focus when i click on it!!
If i have a TextBox in it - i can't use it. I can't type anything in the TextBox.
any solutions??
I'm trying to develope some tool that is located on the desktop like a stikynote. which means it doesn't behave like a normal window. doesn't get minimized and is always behind all other windows.
I tried to use SetParent on a UserControl with the GetDesktopWindow.
It lookes good - it puts the usercontrol embeded in the desktop BUT - the usercontrol doesn't get the focus when i click on it!!
If i have a TextBox in it - i can't use it. I can't type anything in the TextBox.
any solutions??