返回首页

您好专家
您好要设置工具提示窗口的文本
我写的工具提示文本阅读下面的代码:


hWndToolTip = ::FindWindow("tooltips_class32",NULL);

iToolTipLen = ::SendMessage(hWndToolTip,WM_GETTEXTLENGTH,0,0);

strToolTipText = new TCHAR[iToolTipLen]; // Allocate the buffer

::SendMessage(hWndToolTip,WM_GETTEXT,(WPARAM)iToolTipLen+1,(LPARAM)strToolTipText ); // Get the needed text in strToolTipText

现在,我想在相同的工具提示窗口的文本设置使用下列形式给出
{C}但我无法改变在运行时
工具提示文本u能请帮我解释一下是怎么回事,错用此代码列印额外的,我需要做的吗??

感谢副词。

回答

评论会员:K 时间:2