Re: OT-Making a window dialog .. and balloons: Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Stoner wrote:
> 
> Antonio Alessi wrote:
> > 
> > Pete Stoner wrote:
> > > >snipped
> > > 
> > > Kenneth, If you want a tooltip to show more than the standard 80
> > > characters
> snipped
> > 
> > but I would like to submit a further question:
> > 
> > if you open the dialog to choose a folder by the selectDirectory(), you will
> > see the system context help '?' button to the upper right, near the 'x'.
> > Try it clicking everywhere on the tree and will get a very elegant tooltip,
> > rectangular but well spaced all around the text, and shadowed: 
> > do you know perhaps how to obtain these effects?
> > 
> > Thank you
> > antonio
> 
> Hi Antonio,
> 
> It seems that is just another flag when doing the createEx for your window.
> From the MS docs..
> 
> WS_EX_CONTEXTHELP
> Includes a question mark in the title bar of the window. When the user clicks
> the question mark, the cursor changes to a question mark with a pointer. If
> the user then clicks a child window, the child receives a WM_HELP message. The
> child window should pass the message to the parent window procedure, which
> should
> call the WinHelp function using the HELP_WM_HELP command. The Help application
> displays a pop-up window that typically contains help for the child window.
> 
> WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX
> styles.
> 
> I haven't tried this.. let us know how you get on!
> 
> PeteS

Hi Pete,

thanks a lot for your detailed answer; alas I did not focus my question
very well. In lack of this info, I did program since long time a completely 
independent context-help system into my application, therefore this is not 
currently a problem of mine, hence I will not be able [at this time] to feed 
back with this information. However it could be practiced in the future.

What I tried to ask is if you - or someone reading herewith - know how 
to obtain the same tooltip style of the context-help, which is rectangular 
but not so strictly sized and brings a nice shadow, more suitable to my 
project's style than the balloon! 
See, the balloon reveals to be too much invasive in a window 
with many buttons and controls, each endowed with descriptions..

antonio

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu