You can use the following on startup:

$l := Frontmost window
HIDE WINDOW ($l)


> On Nov 6, 2020, at 8:14 AM, David Rose via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Thanks, David. The checkbox for showing the splash screen has always been 
> unchecked.
> 
> 
> 
> From: David Ringsmuth [mailto:davidi...@gmail.com] 
> Sent: Friday, November 06, 2020 9:08 AM
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: David Rose <drose...@gmail.com>
> Subject: RE: Hide Application Process
> 
> 
> 
> David,
> 
> 
> 
> In the Database Settings you can choose to hide the splash screen, so the Set 
> Window Rect may not be needed.
> 
> 
> 
> David Ringsmuth
> 
> 
> 
> From: David Rose via 4D_Tech <mailto:4d_tech@lists.4d.com> 
> Sent: Friday, November 6, 2020 8:51 AM
> To: 4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com> 
> Cc: David Rose <mailto:drose...@gmail.com> 
> Subject: Hide Application Process
> 
> 
> 
> In a 4D v16 single-user interpreted application for Windows 10, this code in 
> the Startup method to hide the Application window has been executing 
> successfully with no problem:
> 
> 
> 
> SET WINDOW RECT(-10;-10;-10;-10)
> 
> //Win32API:
> 
> $WindowHandle_l:=gui_GetWindowFrom4DWinEx (Frontmost window)
> 
> $Error_l:=gui_ShowWindowEx ($WindowHandle_l;SW_HIDE)
> 
> 
> 
> I just installed the application on a new Windows 10 computer, and now the 
> Application window shows up.
> 
> 
> 
> How to fix?
> 
> David
> 
> 
> 
> 
> 
> **********************************************************************
> 
> 4D Internet Users Group (4D iNUG)
> 
> New Forum: https://discuss.4D.com
> 
> Archive:  http://lists.4d.com/archives.html
> 
> Options: https://lists.4d.com/mailman/options/4d_tech
> 
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> 
> **********************************************************************
> 
> 
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to