viewpoint-particle

Author Topic: Transparent Images  (Read 4316 times)

mstarliper

  • Newbie
  • *
  • Posts: 10
Transparent Images
« 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

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Transparent Images
« Reply #1 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.
Deana F.
Technical Support
Wilson WindowWare Inc.

mstarliper

  • Newbie
  • *
  • Posts: 10
Re: Transparent Images
« Reply #2 on: August 08, 2013, 05:53:10 am »
Thanks for taking the time to respond. Just wanted to check.
----
Michael