Started by CADwiesel ·
2016-10-04 09:24 UTC ·
5 replies · SMF topic #2433
CADwiesel
2016-10-04 09:24 UTC
i uses often self designed Palettes. But they are mostly behind the Property and Text window of Bricscad. When they are foldet to the Barn, and now you move over the Mouse, they are expanding but mostly in the back, not in the front.
How is it possible, to bring the Palette to foreground?
owenwengerd
2016-10-06 20:55 UTC
Do I understand correctly that your Properties palette and Text window are also floating, and your floating palette rolls out behind those other floating palettes? Which version of BricsCAD?
CADwiesel
2016-10-10 08:47 UTC
Hi Owen,
yes, correct!
Im testing now on V15.2, 16.2 and 17 I cant find no rule for this. Im using the Bricscad Application with opened Property bar.
Sometimes my Palettes opens behind the Propertys window and won't come to the foreground-even not, when i click on the Palette bar or move my palette to another place on the Screen. I have to close the Property Bar first.
owenwengerd
2016-10-10 12:46 UTC
Sorry, I could not reproduce the problem in V17. I wonder if it is related to your graphics hardware or driver.
fred_tomke
2016-10-28 10:16 UTC
Hi, Martin, can you reproduce this with an empty palette (without any controls and events)? Maybe something prevents the palette to come to front.
@Owen: I think about an additional function to use the window shell32 P/Invoke method SetForegroundWindow. Would this help?
Regards, Fred
owenwengerd
2016-11-03 23:37 UTC
author=Fred Tomke link=topic=2433.msg12167#msg12167 date=1477649760 wrote:
@Owen: I think about an additional function to use the window shell32 P/Invoke method SetForegroundWindow. Would this help?
Calling SetForegroundWindow is almost always a bad idea. We need to know the underlying reason. Testing with an empty palette is an excellent idea.