RE: [help] Windows widths and heights...
I didn't check, but I thought maybe you could reverse the process?
If this is to convert the units from pixels (from the window) to dialog units (inside the xml), then can't you just force the measurements in pixels? I know it's probably not quite what you want, but it's guaranteed to look the same and will save having to add functions or classes to figure it out for you.
<Eljay> "Problems encountered: shit blew up"
|