Hi Doug,

Thank you! I’ll give it a test.

I’ve had mixed result so far with only being able to disable the close box of 
the parent window (main app window).

Appreciate,
John...

> Just snarfed this from a legacy application and watched the code execute.
> 
> $Error_Code:=gui_SetWndRect
> ($Window_Handle;0;0;<>WND_vWindow_Width;<>WND_vWindow_Height)
> $Error_Code:=gui_SetWindowLong ($Window_Handle;WS_THICKFRAME |
> WS_MAXIMIZEBOX;WIN_DISABLE;WIN_STYLE)
> $Error_Code:=gui_DisableCloseBox ($Window_Handle)
> 
> Line 1 sets the window size
> Line 2 disables the minimize
> Line 3 disables the close box
> 
> 
> 
> --
> Douglas von Roeder
> 949-336-2902

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

Reply via email to