Re: OT-Making a window dialog .. and balloons: Pete
- Posted by Pete Stoner <stoner.pete at gmail.com> Jul 05, 2006
- 516 views
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