I dlike to use balloon tool tip text "TTM_ADDTOOL" in global environment. now..,I am using a code which works fine but in the main form - in my own app only..When i use mainwindowhandle of notepad it doesnt works - tooltip is not displayed. When
my mouse cursor is away from my form and my mouse cursor is above notepad = tooltip is not displayed.
Does exist any solution which will displaying baloon tipText on concrete coordinate? Any idea, solution, link..?
more concrete.. I Tryed to create new tip window on concrete coordinate. Code is compiled., without errors, but new window is not visible. Somebody who can help me?
// Create an instance handle.
Asm = Assembly.GetExecutingAssembly();
hInstance = Marshal.GetHINSTANCE(Asm.GetModules()[0]);
// Create the ToolTip window.
WinHandle = CreateWindowEx(
WS_EX_TOPMOST,
TOOLTIPS_CLASS,
"Balloon Help Message"
,
WS_POPUP | TTS_NOPREFIX | TTS_BALLOON,
50,
50,
320,
240,
IntPtr.Zero,
IntPtr.Zero,
hInstance,
IntPtr.Zero);
//display tool tip
ShowWindow(WinHandle, 1);
View Complete Post