Re: Looking to Replace Specific Win32API Commands to enable smooth upgrade to v17

2021-04-05 Thread Ken Eyring via 4D_Tech
Hi Jody, I haven't read the documentation on printing in a while - especially for Windows. I have done something similar for Macs to what I think you are suggesting for Windows. For Macs, I select a printer from a printers list, then call the page setup and save it for that printer for each

Re: Looking to Replace Specific Win32API Commands to enable smooth upgrade to v17

2021-04-05 Thread Jody Bevan via 4D_Tech
Ken: The printer / printing controls in 4D v17 have improved greatly. It takes work, but you can build a whole interface around printer selection etc. You can save values and then the user can skip by it all and go to their preferred printers. This can be done by user, or computer (at least we

Re: Looking to Replace Specific Win32API Commands to enable smooth upgrade to v17

2021-04-04 Thread Ken Eyring via 4D_Tech
Thank you Chip! Unfortunately, I tried to download what I thought was the latest version of Win32API and it was compiled back in Nov 7, 2019 at 12:13p. That version does not work with v17.3HF2 32-bit Client (with a 64-bit server). At least on my end it doesn't. I also thought I saw

Re: Looking to Replace Specific Win32API Commands to enable smooth upgrade to v17

2021-04-04 Thread nug via 4D_Tech
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

Looking to Replace Specific Win32API Commands to enable smooth upgrade to v17

2021-04-04 Thread Ken Eyring via 4D_Tech
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