THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/10/2007 at 12:17, xxxxxxxx wrote:
This seems to work in theory:
> // IPPDialog.Msg_GetCursorInfo - BFM_GETCURSORINFO
> //*---------------------------------------------------------------------------*
> LONG IPPDialog::Msg_GetCursorInfo(const BaseContainer & msg, BaseContainer& result)
> //*---------------------------------------------------------------------------*
> {
> // Retrieve and Convert to Local coordinates
> LONG x = msg.GetLong(BFM_DRAG_SCREENX);
> LONG y = msg.GetLong(BFM_DRAG_SCREENY);
> if (!Screen2Local(&x;, &y;)) return GeDialog::Message(msg, result);
>
> // Get Thumbnail Group Local coordinates and dimensions
> LONG gx, gy, gw, gh;
> if (GetItemDim(GROUP_THUMBNAIL, &gx;, &gy;, &gw;, &gh;) && (x > gx) && (x < gx+gw) && (y > gy) && (y < gy+gh))
> {
> result.SetString(RESULT_BUBBLEHELP, "Hello!");
> }
> else if (GetItemDim(IP_ABOUT, &gx;, &gy;, &gw;, &gh;) && (x > gx) && (x < gx+gw) && (y > gy) && (y < gy+gh))
> {
> result.SetString(RESULT_BUBBLEHELP, "Hello!");
> }
> return GeDialog::Message(msg, result);
> }
But no BubbleHelp. And, yes, Bubble Help is enabled and working elsewhere in the GUI. What do I miss here?
Thanks!