Page 1 of 1

Tooltips not appearing

Posted: Tue Sep 04, 2012 7:17 am
by reganc
I am using Express++ 1.9 build 255.

We have various dialogs with pushbuttons that are supposed to show tooltips when you hover the mouse over them.

For quite a while now I have noticed that these tooltips were not always appearing. I put it down to window 7 or manifest issues (which may still be involved) but only today have I had it pointed out to me that the tooltips always appear if you point the mouse pointer directly at the text on the pushbuttons. If you point to an area of the pushbutton such as just near the top edge or far to the left of the button, the tooltip does not appear.

I had a quick look to see if this had been addressed in a later build but could not see anything relevant.

Has anyone else noticed this or was this fixed and I missed the readme note about it?

Re: Tooltips not appearing

Posted: Tue Sep 04, 2012 8:12 am
by rdonnay
That is interesting. Maybe there is something in the tooltip logic that ignores a specified number of pixels from the edges.
I may have done this for a reason, but I don't remember why. I'll look into it.

Re: Tooltips not appearing

Posted: Tue Sep 04, 2012 11:08 am
by skiman
Hi Regan,

I was wondering if the same happens in my application. I'm using dcpushbuttonXP and the tooltip is always showing. As soon as the cursor in one pixel in the button area, the tooltip appears.

Maybe you are using the standard pushbutton?

Re: Tooltips not appearing

Posted: Wed Sep 05, 2012 3:46 am
by reganc
Hi Chris
skiman wrote:Hi Regan,

I was wondering if the same happens in my application. I'm using dcpushbuttonXP and the tooltip is always showing. As soon as the cursor in one pixel in the button area, the tooltip appears.

Maybe you are using the standard pushbutton?
Yes, we only use the standard DCPUSHBUTTON. We never got around to looking at the other alternatives.

Soon maybe (or even sooner if they are the problem! :-) )

Re: Tooltips not appearing

Posted: Wed Sep 05, 2012 3:48 am
by reganc
rdonnay wrote:That is interesting. Maybe there is something in the tooltip logic that ignores a specified number of pixels from the edges.
I may have done this for a reason, but I don't remember why. I'll look into it.
Thanks.

Re: Tooltips not appearing

Posted: Tue Sep 11, 2012 6:06 am
by rdonnay
I looked at the code and see nothing wrong.

I tested with the below test program and it works exactly as expected.

Code: Select all

@ 0,0 dcpushbutton caption 'testing' size 200,50 pixel tooltip 'my tooltip'

dcread gui fit

Re: Tooltips not appearing

Posted: Tue Sep 11, 2012 8:09 am
by reganc
rdonnay wrote:I looked at the code and see nothing wrong.

I tested with the below test program and it works exactly as expected.

Code: Select all

@ 0,0 dcpushbutton caption 'testing' size 200,50 pixel tooltip 'my tooltip'

dcread gui fit
Ok, thanks for having a look.

I will try to find some time to put a sample program together. I just hope it shows the problem... :-)