I found a problem with the below script. I had thought it merely caused controls in the pproconf process to utilize the existing system font, but I just discovered it is also creating numerous unneeded font resources in the powerpro process that never get released. The issue is compounded each time pproconf is run.
Anyone using the script, please replace this line: dialog.set_font(hwnd) ;;uses system font with this one: win.sendmessage(hwnd, 48, 0, 1) Sorry if it caused anyone problems. It also wasn't (and still isn't) entirely GDI resource neutral in the pproconf process, but at least pproconf doesn't stay open all the time. Once it is closed, the memory is released. The third parameter in the sendmessage really should be NULL for system font but I'm not sure that would effectively make it memory neutral or not. Regards, Sheri --- In [email protected], "philipp_l_kiefer" <philippkie...@...> wrote: > > Excellent. Works like a charm. Many thanks, Sheri, for this little "present" > and a merry Christmas to you! > > Phil > > --- In [email protected], "Sheri" <sherip99@> wrote: > > > > --- In [email protected], "philipp_l_kiefer" <philippkiefer@> wrote: > > > > > > Could someone (Sheri?) please post a simple script that (or tell > > > me how to modify the script below so that it) does the same (i.e. > > > increase the font size) for PproConf's "Edit list item" dialog? > > > > Try this. It would need to be run whenever the "Edit list item" dialog is > > opened. You could actually run it from the autorun command list targetting > > =pproconf,&,Edit list item > > > > local dialog_status > > local allctrls= ;;+ > > win.childhandlelist(win.handle("=pproconf,&,Edit list item")) > > for each word hwnd in allctrls > > dialog.set_font(hwnd) ;;uses system font > > endfor > > quit > > > > Regards, > > Sheri > > >
