Click to See Complete Forum and Search --> : Image Dialogs ?


moetman
January 14th, 2005, 09:25 PM
Hi , I'm trying to find out how you can create an app interface or windows dialog with just a jpeg file ? On the file you could have list boxes e.t.c. inserted and buttons would be symbols that were on the jpeg but had mouse over events at those spots - when the user L clicked the associated event would occur.

Is this possible in .NET or some other IDE / library ?

Regards

chi_luci
January 18th, 2005, 01:07 PM
I'm not sure if CHtmlDialog has this capabilities.

To put a image on your dialog (or control) simply load it into a CBitmap, create a CBrush and return it in OnCtlColor. But if you want to make all items on a dialog to have the same atributes you should copy their corresponding bitmap (at runtime) and return their corespondent brush. It is not a very nice way to do it but I dont actually know another, and this is the way I've solved the problem (not completely, though ). :ehh: :confused: :eek: :sick: