search for: setforegroundwindow

Displaying 12 results from an estimated 12 matches for "setforegroundwindow".

2004 Apr 14
1
Passing a pointer to .C() in Win32
...malInteger(hWndString) system32 <- file.path(Sys.getenv("windir"),"system32") user32 <- file.path(system32,"user32.dll") dyn.load(user32) # WARNING: THIS NEXT LINE WILL PASS AN INVALID WINDOW HANDLE TO # USER32.DLL AND PROBABLY CRASH YOUR R SESSION!!!! .C("SetForegroundWindow",hWnd) # This above won't work, because .C() will pass a pointer to the # integer hWnd to SetForegroundWindow (in user32.dll) whereas # I want the integer hWnd to be cast as a pointer. So for each DLL function I want to call with a pointer argument, do I have to define my own C functi...
2008 Nov 07
0
fix focus and alsa for gps software
...rv/event.c --- wine-1.1.7/dlls/winex11.drv/event.c.orig 2008-10-24 17:55:14.000000000 +0200 +++ wine-1.1.7/dlls/winex11.drv/event.c 2008-11-06 00:25:37.000000000 +0100 @@ -620,6 +620,8 @@ static void X11DRV_FocusIn( HWND hwnd, X XSetICFocus( xic ); wine_tsx11_unlock(); } + SetForegroundWindow( GetDesktopWindow() ); + SetForegroundWindow( hwnd ); if (use_take_focus) return; /* ignore FocusIn if we are using take focus */ if (!can_activate_window(hwnd)) @@ -685,7 +687,7 @@ static void X11DRV_FocusOut( HWND hwnd, if (hwnd == GetForegroundWindow()) {...
2010 Aug 07
3
C++ runtime error
...elf.active # Open console window and select it for :puts Win32API.new("kernel32", "AllocConsole", "V", "L").call $stdout.reopen("CONOUT$") # Bring the game window back to the front Win32API.new("user32", "SetForegroundWindow", "L", "L").call(hwnd) f = File.open("Game.ini") lines = f.readlines() s = lines[3] len = s.size title = (s[6,len - 7]) Win32API.new("kernel32","SetConsoleTitleA","p","s").ca...
2005 Nov 17
0
problem with shell and acccess 97
...ation.hWndAccessApp) Then 'Maximiza la aplicaci?n abierta ShowWindow& MiAccess.Application.hWndAccessApp, 3 End If MiAccess.DoCmd.Maximize 'maximiza el informe Else MiAccess.Quit Set MiAccess = Nothing End If SetForegroundWindow MiAccess.Application.hWndAccessApp End Sub and the trace is: trace:loaddll:load_builtin_dll Loaded module L"kernel32.dll" : builtin trace:loaddll:load_builtin_dll Loaded module L"c:\\windows\\system\\advapi32.dll" : builtin trace:loaddll:load_builtin_dll Loaded module L&quo...
2014 Apr 04
0
Wine release 1.7.16
...anslation. msxml3: Handle NULL child in appendChild(). scrrun: Implement ReadAll(). scrrun: Implement Read(). scrrun: Implement FreeSpace() for a drive. fonts: Added glyphs for U+0404/U+0454 Ukrainian Ye for Tahoma Bold. Piotr Caban (7): user32/tests: Workaround SetForegroundWindow failure due to foreground lock timeout. msvcp90: Add _Random_device implementation. msvcrt: Remove setlocale test with empty locale string. qcap/tests: Fix AviMux test failures on Win2k. user32: Change SetFocus behavior on windows with parent and no WS_CHILD flag. user...
2007 Mar 19
3
"Horn Loudspeaker Response Analysis Program" mit Wine, geht das doch?
...0x7d778d18) 48 0x7eeabe36 in user32 (+0x6be36) (0x7d778d88) 49 0x7eeaf69a SendMessageTimeoutW+0x191 in user32 (0x7d778de8) 50 0x7eeaf6f9 SendMessageW+0x50 in user32 (0x7d778e28) 51 0x7ee8deb9 in user32 (+0x4deb9) (0x7d778ef8) 52 0x7ee8dfda in user32 (+0x4dfda) (0x7d778f98) 53 0x7ee8e0ce SetForegroundWindow+0x43 in user32 (0x7d778fc8) 54 0x7eb4c733 X11DRV_SetWindowPos+0xbde in winex11 (0x7d779108) 55 0x7eedb59f SetWindowPos+0xb1 in user32 (0x7d779178) 56 0x7eb4a68d X11DRV_ShowWindow+0x10a in winex11 (0x7d7791d8) 57 0x7eeda620 ShowWindow+0x4a in user32 (0x7d779208) 58 0x7ee59002 ShowWindow16+...
2006 Feb 03
0
Warcraft III won't run
...0x7f8452cc) 18 0x7f80b509 in user32 (+0x6b509) (0x7f80b509) 19 0x7f80f50d SendMessageTimeoutW+0x19d in user32 (0x7f80f50d) 20 0x7f80f56c SendMessageW+0x4c in user32 (0x7f80f56c) 21 0x7f7ecbbf in user32 (+0x4cbbf) (0x7f7ecbbf) 22 0x7f7ecce3 in user32 (+0x4cce3) (0x7f7ecce3) 23 0x7f7ecdda SetForegroundWindow+0x3a in user32 (0x7f7ecdda) 24 0x7e5ae514 in winex11 (+0x2e514) (0x7e5ae514) 25 0x7e5ae7ef in winex11 (+0x2e7ef) (0x7e5ae7ef) 26 0x7e5ad75e in winex11 (+0x2d75e) (0x7e5ad75e) 27 0x7e5ad125 in winex11 (+0x2d125) (0x7e5ad125) 28 0x7e5ad2e7 X11DRV_MsgWaitForMultipleObjectsEx+0xe7 in winex11...
2011 Mar 04
0
Wine release 1.3.15
...InterfaceInfo() on Mac OS. Damjan Jovanovic (1): winemenubuilder: FriendlyDocName isn't part of the association. David Adam (2): d3dx9_36: Add a test for D3DXCreateBox. d3dx9_36: Implement ID3DXMesh_GetNumBytesPerVertex. Dmitry Timoshkov (9): user32: Cope with failing SetForegroundWindow(). gdi32: Add dumping of child GDI font cache. gdi32: Go through all hfontlist entries not just the first one when checking whether font is in the child font list. gdi32: Do not leak the hfont list (Valgrind). gdi32: Use graphics mode specified at the EMF creation time when...
2007 Jul 27
0
Wine release 0.9.42
...pdh: Forward PdhOpenQuery to PdhOpenQueryW. dinput: Use PostMessage instead of SendMessage. Remove message window. dinput: Use CALLWINDPROC hook to monitor focus loses away from acquired windows. user32/test: Destroy no longer needed test dialog windows. user32: Add test for SetForegroundWindow(desktop). server: Treat desktop as a top-level window. winex11drv: Correctly react to focus loss away from Wine. dinput: Use more messages as a possible indication of the foreground window changes. -- Alexandre Julliard julliard@winehq.org
2007 Jun 01
0
Wine release 0.9.38
...ART command. Vitaliy Margolen (4): dinput: Prevent race between destroying the hook window and unloading the dll. ntdll: Implement RtlWriteRegistryValue and forward ntoskrnl to it. wine.inf: Create fake dll for iexplore.exe. user32/test: Add few tests for messages sent from SetForegroundWindow(). -- Alexandre Julliard julliard@winehq.org
2009 Mar 13
0
Wine release 1.1.17
...lemented AllocateAndGetIpForwardTableFromStack for Solaris. iphlpapi/tests: Output the various tables in verbose mode. loader: Merge the first and second stage loaders into a single wine binary. dbghelp: The main executable is now always named "wine". user32/tests: SetForegroundWindow sometimes fails on Win98. user32/tests: Skip shift+button test if we don't receive the event. wineps.drv: Make all exported entry points CDECL. configure: Check for IOHIDManagerCreate function that's missing on Tiger. kernel32: Make the load order for a 16-bit stand-...
2009 Feb 27
0
Wine release 1.1.16
...n't fail in NtMapViewOfSection for 4Gb+ files if an explicit size is specified. user32/tests: Another fix for lack of color cursor support. user32/tests: Add a couple of optional message, mark as todo a test that now fails consistently on Wine. user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly. user32/tests: Fix some checks of the key value in accelerators. secur32: Properly initialize the helper structure when fork support is missing. kernel32/tests: Fix the last remaining failure on NT4. kernel32/tests: Add a few more error codes for...