Ken, I am not sure but I think there is a v17/18 compatible version of Win32api
in addition, there are native 4D commands which do many those tasks, at least for windows inside 4D, (not the commands but the areas covered) Window rectangle front most window not sure what restrict does, but you set window types to control window appearance and behavior I think you can also get and set default printer - but never did this myself. Chip > On Apr 4, 2021, at 4:58 PM, Ken Eyring via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I am looking to replace the following Win32API commands as I migrate from v15 > to V17 on Windows. Any help is greatly appreciated. > > Window Commands: > > gui_GetWndRect > sys_GetWindowMetrics > gui_GetWindow > gui_RestrictWindow > gui_SetWndRect > gui_RestrictWindow > gui_SubClassInit > > Printing Commands: > > sys_SetDefPrinter > sys_GetDefPrinter > > Thank you, > Ken > > ********************************************************************** > 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 **********************************************************************