Re: A question about CToolTipCtrl.
Like I said the TTS_SUBCLASS works fine in normal operations, but won't help
out the fact that tooltips don't get triggered for disabled controls. To
work around it he has to fake a message when it's over a disabled control so
he has to call RelayEvent.
TTS_ALWAYSTIP will make tooltips show even when the parent window doesn't
have the focus, but still won't show tooltips for disabled controls.
AliR.
"Ajay Kalra" <ajaykalra@yahoo.com> wrote in message
news:1179541022.958363.278240@l77g2000hsb.googlegroups.com...
I have always used TT_SUBCLASS and have avoided RelayEvent. Doesnt
TTS_ALWAYSTIP work for the disabled controls?
---
Ajay
On May 18, 11:02 am, "AliR \(VC++ MVP\)" <A...@online.nospam> wrote:
TT_SUBCLASS will eliminate RelayEvent, but it won't solve the problem of
tooltip not appearing over disabled controls. He needs to call relay
event
with a modified message in order to get the tooltip to show up for the
disabled item.
AliR.
"Ajay Kalra" <ajayka...@yahoo.com> wrote in message
news:1179488370.141393.130700@l77g2000hsb.googlegroups.com...
On May 17, 12:17 pm, "AliR \(VC++ MVP\)" <A...@online.nospam> wrote:
In your Dialogs PreTranslateMessage method where you are calling
m_ToolTip.RelayEvent(...)
If you use TTF_SUBCLASS, you avoid using RelayEvent.
---
Ajay