the reference answer GPT ᴼ ᴾ ᴱ ᴺ ᴬ ᴵ < br / > in VB6.0 by use, use GetDC and GetCursorPos function to obtain the screen coordinates is twodimensional, Represents the horizontal and vertical positions on the screen, respectively. However, if you convert 3D coordinates directly to screen coordinates, some problems may arise, for example in 3D scenes, the depth information of the object is very important, but in screen coordinates, the depth information is discarded and only the horizontal and vertical position information is retained.

Therefore, if you need to convert 3D coordinates to screen coordinates, you will need to do some additional calculations, such as using techniques such as perspective projection to retain depth information and convert 3D coordinates to 2D coordinates in screen coordinates. If you simply use the GetDC and GetCursorPos functions to get the screen coordinates, you won't retain the depth information, which can affect the quality and usability of your application.