balloon

Create xml Chat Bubble With the Shape As in the .png File

不羁的心 提交于 2019-12-08 06:38:09
问题 Could I please ask if anyone knows how to create an xml shape of the chat bubble below? The only examples I found online were two separate shapes that were put as two separate backgrounds in a layout - a triangle and a rectangle. I tried combining the triangle and rectangle to no avail. The triangle seems to hide in the rectangle. Setting a top attribute to the triangle to move it down makes the ImageView object blank. Please see what I tried: <?xml version="1.0" encoding="utf-8"?> <layer

How to Show Ballon tooltip when mouse stops

Deadly 提交于 2019-12-08 04:55:08
问题 [edit] So I used one of the javascript tooltips suggested below. I got the tips to show when you stop and hide if you move. The only problem is it works when I do this: document.onmousemove = (function() { var onmousestop = function() { Tip('Click to search here'); document.getElementById('MyDiv').onmousemove = function() { UnTip(); }; }, thread; return function() { clearTimeout(thread); thread = setTimeout(onmousestop, 1500); }; })(); But I want the function to only apply to a specific div

Delphi: Balloon Form with fsStayOnTop not working in Win7

两盒软妹~` 提交于 2019-12-07 09:21:13
问题 I have an application that uses my own balloon form. This is a non-bordered, fsStayOnTop kind form. I show it with this code: ShowWindow(Handle, SW_SHOWNOACTIVATE); Visible := True; Today I realized that if I activate another application then the balloon is not appearing! So it is loosing it's stay on top style. Environment: Win7/x64 Delphi 6 Professional What I can do with it? Thanks: dd 回答1: What worked for me in the past when struggling with stay-on-top forms: Form := TMyForm.Create(Self);

Delphi: Balloon Form with fsStayOnTop not working in Win7

ⅰ亾dé卋堺 提交于 2019-12-05 18:18:35
I have an application that uses my own balloon form. This is a non-bordered, fsStayOnTop kind form. I show it with this code: ShowWindow(Handle, SW_SHOWNOACTIVATE); Visible := True; Today I realized that if I activate another application then the balloon is not appearing! So it is loosing it's stay on top style. Environment: Win7/x64 Delphi 6 Professional What I can do with it? Thanks: dd What worked for me in the past when struggling with stay-on-top forms: Form := TMyForm.Create(Self); Application.NormalizeTopMosts; SetWindowPos(Form.Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE + SWP

Tooltip Balloon Disappears After 5 Seconds

时间秒杀一切 提交于 2019-12-05 09:23:48
I have the property "AutoPopDelay" set to 60000, but every time I hover over an associated element, the balloon only stays open for 5 seconds even when my mouse pointer stays over stationary over the element. Any ideas on what could be causing this? Edit: I am using WinForms Reading the documentation for the AutoPopDelay on MSDN ( link ) the maximum time you can delay a popup is 5000 milliseconds . If you want a longer duration, use the Show method to control the exact moment when the ToolTip is displayed. ... However, I believe that you are trying to cure the symptoms and not the cause of

C#: Set position of the arrow in a ToolTip Balloon?

梦想与她 提交于 2019-12-01 08:17:18
Is it possible to change the location of the Arrow / Stem in a Balloon Tooltip? Reason to change is because of a Button, located in the top of the screen, should have a tooltip below it. broken image link removed Above is the situation right now, I only need the arrow to be on the top-left side of the balloon. You do not need to do anything special as the placement is automatic according to MSDN. Do have you an issue with ballon tooltip ? I used InteropServices to call several User32.dll methods (CreateWindowEx, DestroyWindow, SetWindowPos and SendMessage) to use native Win32 tooltips instead

single instance and notify in system tray

大城市里の小女人 提交于 2019-11-30 16:17:18
I am working on the application (C# 2.0). I have implemented single instance in it. Everything is fine. If i run the application again, it shows messagebox saying "instance is already running". Actually i don't want to show the message through messagebox. I want to show this message using Balloon tip of already running instance (it has notify icon in system tray). How can i achieve this? Thanks in advance. You need a form of interprocess communication , to signal to the other instance that it should display the messagebox. In this instance, you could go one better than telling the existing

I want a more personalized BalloonHint (Background color/Rounded Corner/transparency)

≯℡__Kan透↙ 提交于 2019-11-28 14:22:06
When using TballoonHint , I need it more personalized in colors, shape, transparency and animated appearance, how can I do that? Create your own descendant of TBalloonHint or THintWindow . Override the NCPaint method to draw the outer edges (non-client area) and CalcHintRect (if needed), and provide your own Paint method to draw the interior as you'd like it to appear. Then assign it to Application.HintWindowClass in your .dpr file just before the call to Application.Run . Here's a (very minimal) example that does nothing but paint the standard hint window with a green background. Save this as

I want a more personalized BalloonHint (Background color/Rounded Corner/transparency)

你。 提交于 2019-11-27 08:27:24
问题 When using TballoonHint , I need it more personalized in colors, shape, transparency and animated appearance, how can I do that? 回答1: Create your own descendant of TBalloonHint or THintWindow . Override the NCPaint method to draw the outer edges (non-client area) and CalcHintRect (if needed), and provide your own Paint method to draw the interior as you'd like it to appear. Then assign it to Application.HintWindowClass in your .dpr file just before the call to Application.Run . Here's a (very

How to hide a taskbar balloon at will?

南楼画角 提交于 2019-11-27 07:12:11
问题 It's very easy to force a taskbar icon to display a balloon tooltip: all I need to do is set the NIF_INFO flag when calling Shell_NotifyIcon( NIM_MODIFY, ... ), and the balloon appears, no problem. Now, I want to be able to hide the balloon when I no longer need it, as well, but I can't find a way to do that. I tried clearing the NIF_INFO flag and calling Shell_NotifyIcon( NIM_MODIFY, ... ), but the balloon remained. It does disappear by itself, a few seconds later, but that's not what I want