WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Dialog Editor version 6.X
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Unable to Load Background Image in Dialog


Question:

I was under the assumption that WB dialogs would render a DEFAULT background for a dialog if the .bmp was missing, or you had changed the path in the script then re-displayed the dialog (no callbacks involved). For fun I erased the .bmp and got an error which shows the line for cBackground (so what does ,DEFAULT do???)

Answer:

Default does exactly what you experienced. The dialog function is set up to error if you don't specify a fall back background color when a specified bitmap is missing. This allows the script writer to force the use of a bitmap.
Article ID:   W16414
File Created: 2005:02:18:12:20:28
Last Updated: 2005:02:18:12:20:28