WinBatch® Technical Support Forum

Archived Boards => WinBatch Dynamic Dialogs => Topic started by: mstarliper on August 07, 2013, 11:24:49 AM

Title: Transparent Images
Post by: mstarliper on August 07, 2013, 11:24:49 AM
With all the new dialog stuff, is there a way to display an image with a transparent background in the Picture box control (or some other way)? I saw the code in the tech support database, but just wanted to check before trying that route.
----
Michael
Title: Re: Transparent Images
Post by: Deana on August 07, 2013, 02:09:08 PM
Sorry WIL Dialogs do not currently support the use of transparent images. The code I think you are referring to in the tech database (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/Dialog~Editor/Dialog~Editor~version~6.X/Samples+Transparent~Images~in~Dialogs.txt) takes a non-transparent image and attempts to turn it into a transparent background image.

There might be a way using DllCall and possible a SendMessage to tell the control that it contains a transparent image, however I have no idea what would be required to accomplish this.
Title: Re: Transparent Images
Post by: mstarliper on August 08, 2013, 05:53:10 AM
Thanks for taking the time to respond. Just wanted to check.
----
Michael