Amilo Posted February 4, 2013 Share Posted February 4, 2013 Arkadslar Alt Tab Tusuna Basılmasını Nasıl Engellerim Yardımcı Olurmusunuz Quote Link to comment Share on other sites More sharing options...
Amilo Posted February 6, 2013 Author Share Posted February 6, 2013 beyler kimse bilmiyomu :( Quote Link to comment Share on other sites More sharing options...
xcientist Posted February 6, 2013 Share Posted February 6, 2013 [HKEY_CURRENT_USER\Control Panel\Desktop] "CoolSwitch"="0" regedit den bu anahtari bul aynen böyle yap restart sonra işlem tamamdir Quote Link to comment Share on other sites More sharing options...
Amilo Posted February 8, 2013 Author Share Posted February 8, 2013 sağolda ben auto it le engellemem lazım Quote Link to comment Share on other sites More sharing options...
kafkas066 Posted February 8, 2013 Share Posted February 8, 2013 beyler kimse bilmiyomu :( beyler kimse bilmiyomu :( bu gibi hitaplardan sakının mesajınızı yazdıktan sonra bilgisi olan cevaplar Quote Link to comment Share on other sites More sharing options...
MostWanted Posted February 8, 2013 Share Posted February 8, 2013 Alt+Tab korunumlu tuş olduğu için autoitte direk engellenebileceğini sanmıyorum.O yüzden belirtilen ayarı autoite yaptırıp işinizi görebilirsiniz. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted February 8, 2013 Editor Share Posted February 8, 2013 [StructLayout(LayoutKind.Sequential)] private struct KBDLLHOOKSTRUCT { public Keys key; public int scanCode; public int flags; public int time; public IntPtr extra; } int sCancel = 0; //System level functions to be used for hook and unhook keyboard input private delegate IntPtr LowLevelKeyboardProc(int nCode, IntPtr wParam, IntPtr lParam); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern IntPtr SetWindowsHookEx(int id, LowLevelKeyboardProc callback, IntPtr hMod, uint dwThreadId); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern bool UnhookWindowsHookEx(IntPtr hook); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern IntPtr CallNextHookEx(IntPtr hook, int nCode, IntPtr wp, IntPtr lp); [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern IntPtr GetModuleHandle(string name); [DllImport("user32.dll", CharSet = CharSet.Auto)] private static extern short GetAsyncKeyState(Keys key); const int WM_COMMAND = 0x111; const int MIN_ALL = 419; const int MIN_ALL_UNDO = 416; //Declaring Global objects private IntPtr ptrHook; private LowLevelKeyboardProc objKeyboardProcess; public Form1() { ProcessModule objCurrentModule = Process.GetCurrentProcess().MainModule; objKeyboardProcess = new LowLevelKeyboardProc(captureKey); ptrHook = SetWindowsHookEx(13, objKeyboardProcess, GetModuleHandle(objCurrentModule.ModuleName), 0); DevExpress.Skins.SkinManager.EnableFormSkins(); DevExpress.UserSkins.BonusSkins.Register(); DevExpress.UserSkins.OfficeSkins.Register(); InitializeComponent(); } private IntPtr captureKey(int nCode, IntPtr wp, IntPtr lp) { if (nCode >= 0) { KBDLLHOOKSTRUCT objKeyInfo = (KBDLLHOOKSTRUCT)Marshal.PtrToStructure(lp, typeof(KBDLLHOOKSTRUCT)); if (objKeyInfo.key == Keys.Alt || objKeyInfo.key == Keys.Tab || objKeyInfo.key == Keys.LWin || objKeyInfo.key == Keys.RWin || objKeyInfo.key == Keys.ControlKey || objKeyInfo.key == Keys.LControlKey || objKeyInfo.key == Keys.RControlKey || objKeyInfo.key == Keys.Escape) // Disabling Windows keys { return (IntPtr)1; } } return CallNextHookEx(ptrHook, nCode, wp, lp); } Ben c# ta bu şekilde engellemiştim özel tuşların hepsini Kullanılan DLL ler autoit ye nasılş uygulanır bilmem. Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted February 9, 2013 Share Posted February 9, 2013 (edited) bencede bu şekil engellenebilir ama biraz kod üzerinde çalışmak lazım konu muhtemelen çözüldü bence ya Edited February 9, 2013 by mesale0077 Quote Link to comment Share on other sites More sharing options...
Amilo Posted February 9, 2013 Author Share Posted February 9, 2013 bencede bu şekil engellenebilir ama biraz kod üzerinde çalışmak lazım konu muhtemelen çözüldü bence ya evet sayenizde teşekkürler Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.