News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Tooltip does nolt work in Unicode

Started by spertulo, January 08, 2011, 09:20:33 AM

Previous topic - Next topic

spertulo

  Hi All!

I made a tooltip window how described in Iczelion, lesson 27. It works well in 1-byte code.
But if I try to use Unicode variant (with SendMessageW), only the first symbol of tip is shown because
it is followed by a zero byte. I suspect, the Unicode variant is not implemented at all.
I tested it in WinXP and Windows 7.

Do anyone have experience with it?

Thanks for any answer.

jj2007

Try TTM_ADDTOOLW (and let us know if it helped :bg)

jj2007

Why not some simple macros at the end of the WM_CREATE handler?

Quote      ToolTips TTS_BALLOON            ; credits to anon
      ToolTips hButton1, "Press this button"
      ToolTips hButton2, wRes$(103)      ; use a resource string, wide version
      ToolTips hEdit, wRes$(104)      ; type some text
      ToolTips end

Wait for the next update of MasmBasic :bg


spertulo

Quote from: jj2007 on January 08, 2011, 11:20:53 AM
Try TTM_ADDTOOLW (and let us know if it helped :bg)
Yes, it works!
Many thanks!
Grazie tantissime!

jj2007

I am glad I could help you, Ivan :thumbu