PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Disable Alt-Tab (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Disable Alt-Tab


#22
kylemhall (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Disable Alt-Tab 4 Years, 4 Months ago Karma: 0  
Hello all,
I'm still working on my Kiosk system mentioned in an earlier thread. It practically finished, but I still need to find a way to disable alt-tab. I've searched high and low, and there is simply no way to disable alt-tab in windows without a commercial program. Disabling the task manager was easy.

Is there any way I can capture the alt+tab key combination from my program's login screen and just have it do nothing? I'm really running out of ideas, and it would be a shame if I had to write a separate windows client in another language.

Thanks,
Kyle
 
  The administrator has disabled public write access.

#26
kksou (Admin)
Admin
Posts: 1599
graph
User Online Now Click here to see the profile of this user
Re:Disable Alt-Tab 4 Years, 4 Months ago Karma: 23  
Hi Kyle,

This could not be achieved from within PHP-GTK. It's an OS issue.

However, I'm not an expert in Windows. So I couldn't help much, except for the pointers which I've given earlier: http://answers.google.com/answers/threadview?id=515848

Are there any windows experts out there who can give some pointers?

Regards,
/kksou

p.s. Kyle, would you want to give a bit more details so that it's easier for people to help? For example,
- do you have complete control over the entire system?
- can you change the registry?
- can you remap some of the keys?
- can you add additional application / utilities on this system?

I know it's possible to remap some of the keys through the registry. Will this work for your case?
 
 
Last Edit: 2008/01/14 12:07 By kksou.
  The administrator has disabled public write access.

#30
kylemhall (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Disable Alt-Tab 4 Years, 4 Months ago Karma: 0  
I think I have an idea of what I need to do, I'll post a solution here when I have it finished.

My next question is, do you know how to use the function GdkWindow::set_override_redirect .

In X-Windows, this supposedly allows the program to bypass the window manager ( gnome, kde, etc... ) and thus is not affected by alt-tab, alt-f4, and other special keys. I haven't figured out how to use it, but it would be a much better way to set up the kiosk login screen. Right now we are permanently disabling those hotkey combinations completely, meaning alt-tab never works, and so on.

Any ideas?
 
  The administrator has disabled public write access.
#31
kksou (Admin)
Admin
Posts: 1599
graph
User Online Now Click here to see the profile of this user
Re:Disable Alt-Tab 4 Years, 4 Months ago Karma: 23  
My next question is, do you know how to use the function GdkWindow::set_override_redirect

From the following page:
http://library.gnome.org/devel/pygtk/2.12/class-gdkwindow.html

It says, "This method does not work on MS Windows."

Regards,
/kksou
 
 
Last Edit: 2008/01/17 07:16 By kksou.
  The administrator has disabled public write access.
#34
kylemhall (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Disable Alt-Tab 4 Years, 3 Months ago Karma: 0  
I know this method doesn't work on windows, I'm just trying to get it to work under KDE/Gnome. Right now, I have to modify the KDE settings to disable alt-tab, if I can use set_override_redirect, I won't have to do that, and it will make the program alot more user friendly.

Any idea how to use it? The problem is it needs a GdkWindow, not a GtkWindow, I believe.

Kyle
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved