No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I created this code that brings Internet Explorer window to the top. [code] public void avtivateIEWin(IntPtr win){ int foregrRes = SetForegroundWindow(win); log("foregrRes:" + foregrRes); ShowWindowAsync(win, SW_SHOW); BringWindowToTop(win); SetActiveWindow(win); SwitchToThisWindow(win, true); SetFocus(win); } [/code] (the purposes of my program is to emulate Alt-Tab behavior to switch between my application's windows which … |
|
I need to write an application which globally intercepts Alt+Shift+S. What I did is I created a DLL which sets global hooks: [CODE]namespace Hotkeydll { public class MyHotKey { public static void setHooks() { KeyboardHookProcedure = new HookProc(KeyboardHookProc); hKeyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, KeyboardHookProcedure, Marshal.GetHINSTANCE(Assembly.GetExecutingAssembly().GetModules()[0]), 0); } private int KeyboardHookProc(int nCode, Int32 … |
|
I developed a DLL in C# When I am trying to call it I get: System.EntryPointNotFoundException: Unable to find an entry point named: It means that DLL doens't export any methods visible from DLL. Dumpbin doesn't show any methods either: dumpbin.exe -exports ActiveXTest.dll Dump of file ActiveXTest.dll File Type: DLL … |
|
I need an activeX which handles global hotkey: Shift+b The code below is supposed to do this when I call this ActiveX from IE. I see the result of RegisterHotKey is true which means that the hotkey has been registered Ok. But I don't see that any messages come to … |