search for: sw_hide

Displaying 10 results from an estimated 10 matches for "sw_hide".

2009 Apr 07
2
Running an R script from Delphi 7
...:= False; { Initialize the structures } FillChar(proc_info, sizeof (TProcessInformation), #0); FillChar(startinfo, sizeof (TStartupInfo), #0); Startinfo.cb := sizeof (TStartupInfo); Startinfo.dwFlags := STARTF_USESHOWWINDOW or STARTF_USESTDHANDLES; Startinfo.wShowWindow := SW_HIDE; { Attempt to create the process. If successful wait for it to end} // CreateOK := CreateProcess(nil, nil, nil, nil, nil, CreateOK := CreateProcess(Nil, PChar('C:\Program Files\R\R-2.8.1\bin\R.exe ' + CommandLine), nil, nil, False, CREATE_NEW_PROCESS_GROUP+NORMA...
2009 Apr 17
1
Re: How to discover within my application if executed in Wine?
I finally succedeed to show the icon from tray - the problem is that the hole application isn't hidden. I use ShowWindow from user32: ShowWindow(Application.Handle, SW_HIDE); Is there a better way to hide it?
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a window) and save to a file. I have this, but I have no idea where it came from, but it gives a corrupted image Paul # -*- ruby -*- # screen capture -- # This script runs with a Ruby/DL which is included in ruby-1.7. require ''dl/import'' module ScreenCapture extend DL::Importable dlload
2006 Dec 04
8
Calling R functions in Delphi
Hello All, We would like to call quantile() function from the R-package STATS in a Delphi program. If this is possible, could anyone provide us with an example? Thanks in advance. --Anna ----------------------------------------- Anna Belova Abt Associates Inc. 4800 Montgomery Ln, St 600 Bethesda, MD-20814 phone: 301-347-5304 fax: 301-652-7530 http://www.abtassociates.com/environment
2004 Dec 18
0
Removing COMSPEC from win32-open3
..."notepad", then it probably isn''t what you want. (More thinking out loud) Try CreateProcess twice. The first time, call it without COMSPEC. If that fails, then try it with COMSPEC. Only if the second call fails would it finally be considered an error. That still leaves the SW_HIDE vs. SW_SHOW issue, though. (Possible solution) Create an Open3.show_window= method that accepts a boolean value. It would be the onus of the programmer to remember to set this to true if they want to create a GUI window of some sort using popen3 or popen4. Ok, I''m done thinking for a l...
2010 Aug 23
1
[Bug] [Urgent] CreateProcess Failed internal error (1359)
...wchar_t buffer[255]; swprintf(buffer,255,L"\"%s\" %d %s%d",argv[0],arg + 1,argv[2],i); STARTUPINFOW si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); si.dwFlags = STARTF_USESTDHANDLES/*|STARTF_USESHOWWINDOW*/; //sui.wShowWindow = SW_HIDE; ZeroMemory( &pi, sizeof(pi) ); // Start the child process. if( !CreateProcessW( NULL, // No module name (use command line) buffer, // Command line NULL, // Process handle not inheritable NULL, // Thread handle not inheritable FALSE, //...
2014 Nov 28
0
Wine release 1.7.32
...ests: Ensure ShowWindow returns false when window is already hidden. Caron Wills (1): wined3d: Add NVIDIA GeForce GTX 970 to supported device list. Detlef Riekenberg (1): scrrun/tests: Ignore case in path names. Drew Ronneberg (2): user32/tests: Add tests for calling ShowWindow(SW_HIDE) on a hidden window. user32: Do not call SendMessage() to hide a window that is already hidden. Fran?ois Gouget (1): ddraw/tests: Fix compilation on systems that don't support nameless unions. Guillaume Charifi (1): riched20: Do not destroy IRichEditOle if still referenced....
2014 May 16
0
Wine release 1.7.19
...ic names for range lock offsets. ole32: Use share modes when creating storage files. ole32: Map STGM_SHARE_EXCLUSIVE to FILE_SHARE_READ. ole32: Accept STGM_TRANSACTED with no share mode specified. ole32: Initial implementation of transaction locking. shell32/tests: Use SW_HIDE with ShellExecuteA in tests. ole32: Warn in cases where we might corrupt storage files. ole32: Use real blocking operations for storage locking when possible. server: Try to get a read lock if we can't get a write lock. ole32: STGM_NOSNAPSHOT implies deny write. Zhenbo...
2006 Oct 27
0
Wine release 0.9.24
...TITEM. comctl32: rebar: bUnicode and NtfUnicode should be the same. comctl32: header: Make all repaints pass through HEADER_Refresh. comctl32: header: Test and improve the custom draw and owner draw code. winetest: Don't start test programs with STARTUPINFO.wShowWindow = SW_HIDE. user32: Don't create timers with nEventId == 0 in TrackMouseEvent. user32: When calling TrackMouseEvent with TME_LEAVE the dwHoverTime may be uninitialized. comctl32: listview: Update the scroll bars after resizing the last column. user32: Send a WM_MOUSELEAVE even if a...
2008 Jun 27
0
Wine release 1.1.0
...l3: Improved checking of failed case. secur32: Fix crash under win98. shell32: Stop crash when an error occurs. mapi32: Skip tests on error. msxml3: Added support for creating DOMFreeThreadedDocument. Anatoly Lyutin (3): user32: Return at the end of processing (cmd == SW_HIDE). user32/tests: Add two tests for ShowWindow(SW_RESTORE). user32/tests:c Add msg tests for SetActiveWindow(). Andrew Talbot (12): user32: Dangling pointer fix. advpack: Constify some variables. qmgr: Constify some variables. shell32: Constify a variable. s...