i want always inactive my windows form (like a on screen keyboard). how can i do it.
I want always inactive my windows form.
Page 1 of 15 Replies - 2249 Views - Last Post: 07 July 2012 - 08:10 AM
Replies To: I want always inactive my windows form.
#2
Re: I want always inactive my windows form.
Posted 05 July 2012 - 09:44 AM
I have no idea what your asking
#3
Re: I want always inactive my windows form.
Posted 06 July 2012 - 11:39 PM
please open on screen keyboard and notepad
then click on screen keyboard button.
check activated window on your desktop
i think note pad window is the activated window.
if you click on the on screen key board again
it's not activated.
i want always inactive my windows form like on screen key board.
how can i do it.
please help me.
then click on screen keyboard button.
check activated window on your desktop
i think note pad window is the activated window.
if you click on the on screen key board again
it's not activated.
i want always inactive my windows form like on screen key board.
how can i do it.
please help me.
#4
Re: I want always inactive my windows form.
Posted 07 July 2012 - 07:49 AM
I have no clue what you're asking for, I'm sorry.
#5
Re: I want always inactive my windows form.
Posted 07 July 2012 - 08:03 AM
I think you have to do some nasty stuff with your operating system. And by this I mean you have to load some hooks into your system(or target OS) and manipulate the ZOrder of the windows. This is quite tricky and depending on the purpose of the application it might be to much(installing a hook requires administrator privileges). Also you have to use unmanaged code (WinApi)
Now some helpful links to get you started for research
Windows hooks
Windows features
Using hooks
About WinApi/ P/Invoke
P/Invoke description and examples(wiki)
Now some helpful links to get you started for research
Windows hooks
Windows features
Using hooks
About WinApi/ P/Invoke
P/Invoke description and examples(wiki)
#6
Re: I want always inactive my windows form.
Posted 07 July 2012 - 08:10 AM
I think he wants to keep his app window deactivated but always on top.
1. To keep d app window deactivated when u start d app
I would find d last active window, then when I start my app activate last active window.
I dont know how to get d last active window (guys help!).
d alternative is to switch the focus to another application. D SetActiveWindow dll function can do that ...
http://stackoverflow...her-application
2. To keep d app window always on top
I would set d form property TopMost to True.
1. To keep d app window deactivated when u start d app
I would find d last active window, then when I start my app activate last active window.
I dont know how to get d last active window (guys help!).
d alternative is to switch the focus to another application. D SetActiveWindow dll function can do that ...
http://stackoverflow...her-application
2. To keep d app window always on top
I would set d form property TopMost to True.
Page 1 of 1

New Topic/Question
Reply


MultiQuote



|