TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: lifei18 on July 14, 2012, 09:33:42 AM

Title: Bug ,About checkbox and optionbutton
Post by: lifei18 on July 14, 2012, 09:33:42 AM
I think it is a bug ,When a sldview(or blockview, pictrurebox)  In front of the checkbox and optionbutton, , I found the checkbox and optionbutton can not send to front,but other control can do it ,I hope in next version can fix this bug,Thanks.
Title: Re: Bug ,About checkbox and optionbutton
Post by: owenwengerd on July 15, 2012, 12:30:28 PM
I think you are referring to overlapping controls. Windows does not support "order" of overlapping sibling controls, so this is by design and Microsoft has no plans to change this.
Title: Re: Bug ,About checkbox and optionbutton
Post by: Keith™ on July 15, 2012, 01:09:09 PM
What is at issue here? I don't understand the original question, but if it is about having a checkbox on top of an image, it certainly is possible within windows.
Title: Re: Bug ,About checkbox and optionbutton
Post by: lifei18 on July 27, 2012, 07:02:31 AM
I just want a checkbox control on top of a Sldview control,But anybody can tell me how can do this?
Title: Re: Bug ,About checkbox and optionbutton
Post by: owenwengerd on July 27, 2012, 10:09:14 AM
If you make the checkbox transparent (background color set to transparent) and the SldView control *not* transparent, then Windows will always draw the checkbox last in a normal painting operation. Anything that causes the SldView to paint itself outside of the normal Windows painting operation must also force the checkbox to be repainted immediately afterward.