--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> --- In [email protected], "brucexs" <bswitzer@> 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.

Yeah, doable.  But it means changing dialog plugin font_spec and
set_font,  since best way to do it is return a string like 

   "Arial IB 14 c:255"

> > 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.

I'll check that out.  So you;re passing the windows handle of a bar
to change_style?  

Not sure what style changes work and what don't.  Some styles appaear
to only make a difference on window creation.  Others seem to work
on-the-fly, on an existing window.  Not sure of the rhyme or reason.
Can you think of a case where a window gains/loses e.g. minbox once
already created?  I can;t, but I haven;t really looked.



Reply via email to