public WSNToolTip()
 {
     // initialize class
     tagINITCOMMONCONTROLSEX tg = new tagINITCOMMONCONTROLSEX(ICC_TAB_CLASSES);
     InitCommonControlsEx(ref tg);
     // get app instance
     Type t = typeof(WSNToolTip);
     Module m = t.Module;
     _hInstance = Marshal.GetHINSTANCE(m);
     // create window
     _hTipWnd = CreateWindowEx(WS_EX_TOPMOST | WS_EX_TOOLWINDOW/* | WS_EX_TRANSPARENT*/,
         TOOLTIPS_CLASS, "",
         WS_POPUP | TTS_NOPREFIX | TTS_ALWAYSTIP,
         0, 0,
         0, 0,
         IntPtr.Zero,
         IntPtr.Zero, _hInstance, IntPtr.Zero);
     // set position
     SetWindowPos(_hTipWnd, HWND_TOP,
         0, 0,
         0, 0,
         SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOOWNERZORDER);
     SendMessage(_hTipWnd, WM_SETFONT, _oTipFont.ToHfont(), 0);
     windowStyle(_hTipWnd, GWL_STYLE, 0, WS_BORDER);
     useUnicode(IsUnicode);
     timerDefaults();
     base.AssignHandle(_hTipWnd);
 }
 private static extern bool InitCommonControlsEx(ref tagINITCOMMONCONTROLSEX iccex);