--- In [email protected], "brucexs" <bswit...@...> wrote:
>
> --- In [email protected], "Sheri" <sherip99@> wrote:
> >
> > Would it be feasible to retrieve the color that is set inside the
> > font dialog? From what I've read "the rgbColors member of the
> > CHOOSEFONT data structure contains the selected color." I'm
> > thinking of some special variable that could be requested after
> > the dialog is closed, e.g, dialog_font_color.

> I think the font dialog  only gets called from the configration 
> program -- there is no PowerPro function to call it, is there?
> 
> So I assume you are talking abou the dialog plugin?

Yes I was. Unless adding font dialog services to PowerPro would be
fairly trivial (because it would be nice to have an "inputfont()"
service in PowerPro). I was also interested in trying to change the
style of a bar so that it has a caption (remove toolwindow style and
add ws_caption, sysmenu and minbox or reverse at will). Dialog's
change_style service is documented to work on non-dialog controls, but
I guess not on main windows (I gave it a bar's window handle and got
an error message: "dialog handle isn't"). Since dialog is in the same
process space as powerpro and its bars, it seems like it could
potentially change the style of a bar window. But if the facility
could be easily added as a cl service, that would be better. Main
reason for wanting it is to be able to see a certain floating bar's
footprint on the taskbar and in active buttons when it is not on top.

Regards,
Sheri

Reply via email to