The GETPRINTER() dialog normaly appears at the left top corner of the main window of FoxPro.
What if you want it to popup in the middle of the screen?
The interface has no input parameters that can be used to position the dialog. Still the Timer control and several API calls can solve this small problem.
The same technique is used in another example Using Extended MessageBox() Class. First you start a Timer, then call the GETPRINTER(). Amazingly, the Timer keeps ticking behind this otherwise perfectly modal window. So from the Timer event you can access the dialog and move it.
This is not the ideal solution, because the dialog may "jump" -- fixed [May 9, 2006] by locking and subsequently unlocking drawing in the Windows desktop.