--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "entropyreduction"
> <alancampbelllists+yahoo@> wrote:
> >
> > --- In [email protected], "Sheri" <sherip99@> wrote:
> > >
> > > The visible shadow window is associated with the last control for
> > > which a set_tooltip service creates the tooltip, when the
set_tooltip
> > > occurs after the dialog.create but before the dialog.run. If all the
> > > set_tooltip statements are moved to before the dialog.create,
there is
> > > no visible shadow window when the dialog is first shown.
> > 
> > Thanks for tip.  Sounds like another erro check I'm not doing: you
> > shouldn't be able to invoke set_tooltip before creating a dialgo
> > (because I eed the hwnd for te dialog to do it properly, and there
> > is none before create).  Will fix.
> >
> 
> I thought the (dialog) handle is returned by the dialog.define.

Yeah, that's the handle to a dialog object, or thingie, since pp
doesn;t really do objects.  The thingie stores all information about
the dialog, but an honest-to-god window doesn't come into existence
til you do a create (and windows are also then created for each
control, and for each tooltip).  The windows have handles too (HWNDs);
I need them to properly make tooltips and tie them to controls.



Reply via email to