06-11-2025, 02:31 PM
Hi,
LDGraphicsWindow.TransparentGW() is called before all GW commands to make the main GW transparent. I don't think there is a way to make additional GWs transparent. It doesn't create a new GW, just makes the main one transparent.
LDWindows.Create() creates another GW, I don't think it can be made transparent.
In your code loop i = 1 To 3 - the main window is set as transparent and all the other actions in that loop refer to the main GW (repeated 3 times). Only after the loop is completed do you call LDWindows.Create() to create a second window. Subsequent calls to LDGraphicsWindow.TransparentGW()in the loop i = 2,3 do something odd and prevent writing to the main GW. LDGraphicsWindow.TransparentGW() should only be called once before all GW commands.
You can maybe have a similar effect as a transparent GW if you are setting the background color, by LDGraphicsWindow.Style = 0.
LDGraphicsWindow.TransparentGW() is called before all GW commands to make the main GW transparent. I don't think there is a way to make additional GWs transparent. It doesn't create a new GW, just makes the main one transparent.
LDWindows.Create() creates another GW, I don't think it can be made transparent.
In your code loop i = 1 To 3 - the main window is set as transparent and all the other actions in that loop refer to the main GW (repeated 3 times). Only after the loop is completed do you call LDWindows.Create() to create a second window. Subsequent calls to LDGraphicsWindow.TransparentGW()in the loop i = 2,3 do something odd and prevent writing to the main GW. LDGraphicsWindow.TransparentGW() should only be called once before all GW commands.
You can maybe have a similar effect as a transparent GW if you are setting the background color, by LDGraphicsWindow.Style = 0.