创建丰富的工具提示 [英] Creating a rich tooltip

查看:53
本文介绍了创建丰富的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我想知道是否有办法创建工具提示但是添加图形。

目前我有一个图片框我动态地添加图形/标签/等,

但是当这个工具提示时在表格的边缘,它会被切断,因为

的形式。


那么无论如何都要做出更丰富的工具提示?

或者有没有办法让我的图片框漂浮在表格的上方(外面)?


-

问候,

Webster

Hello,

I was wondering if there''s a way to create a tooltip but add graphics to it.
Currently I have a picturebox that I dynamically add graphics/labels/etc to,
but when this "tooltip" is on the edge of the form, it gets cut off because
of the form.

So is there anyway to make a richer tooltip??
Or is there a way for my picturebox to float above (outside) of the form??

--
Regards,
Webster

推荐答案

您可以相对轻松地创建工具提示。我使用本机窗口和

扩展程序提供程序组件。自己处理所有绘图,你可以添加

图像等等。


如果你想要一个完整的例子,我在Well Formed中发布了一个工具提示组件
上个月
http://www.bobpowell.net/ currentissue.htm


如果你想要一个完整的商业解决方案,我会推出一个工具提示,其中包含

不规则的轮廓,图标和一切。
http://www.bobpowell.net/bubbletooltip.htm


-

Bob Powell [MVP]

C#,System.Drawing


11月版的Well Formed现已推出。

了解如何在托管代码中创建Shell扩展。
http://www.bobpowell.net/currentissue.htm


回答那些GDI +问题GDI +常见问题解答
http://www.bobpowell.net/gdiplus_faq.htm

http://上阅读我的博客bobpowelldotnet.blogspot.com


" Webster" <无*** @ nowhere.com>写在消息

新闻:Od ************** @ TK2MSFTNGP11.phx.gbl ...
You can create tooltips relatively easily. I use a native window and an
extender-provider component. Handle all the drawing yourself and you can add
images and so-on.

If you want a full example, I published a tooltip component in Well Formed
last month http://www.bobpowell.net/currentissue.htm

If you want a complete commercial solution I sell a tooltip that has
irregular outlines, icons and everything.
http://www.bobpowell.net/bubbletooltip.htm

--
Bob Powell [MVP]
C#, System.Drawing

The November edition of Well Formed is now available.
Learn how to create Shell Extensions in managed code.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com

"Webster" <no***@nowhere.com> wrote in message
news:Od**************@TK2MSFTNGP11.phx.gbl...
你好,
我想知道是否有办法创建工具提示但是将图形添加到
它。目前我有一个图片框,我动态添加图形/标签/等
到,但是当这个工具提示时在表格的边缘,由于表格的缘故,它被切断了


那么无论如何要做出更丰富的工具提示?
或者有办法我的图片框漂浮在表格的上方(外面)?

- 问候,
韦伯斯特
Hello,

I was wondering if there''s a way to create a tooltip but add graphics to it. Currently I have a picturebox that I dynamically add graphics/labels/etc to, but when this "tooltip" is on the edge of the form, it gets cut off because of the form.

So is there anyway to make a richer tooltip??
Or is there a way for my picturebox to float above (outside) of the form??

--
Regards,
Webster



Bob,

最尊重。


我不认为你使用这个新闻组做广告是对的。

专业知识,如果在这里免费提供,这不是销售商品的地方

和服务无论他们或你可能是好的。

问候 - OHM#

Bob Powell [MVP]写道:
Bob,
With the greatest respect.

I dont think it is right that you are using this newsgroup to advertise.
Expertise if given freely here and this is not the place to sell your goods
and services however good they or you might be.
Regards - OHM#
Bob Powell [MVP] wrote:
您可以相对轻松地创建工具提示。我使用本机窗口和扩展程序提供程序组件。自己处理所有绘图并且
你可以添加图像等等。

如果你想要一个完整的例子,我在上个月发布了一个工具提示组件
rel =nofollowhref =http://www.bobpowell.net/currentissue.htmtarget =_ blank> http://www.bobpowell.net/currentissue.htm
<如果你想要一个完整的商业解决方案,我会推出一个具有不规则轮廓,图标和一切的工具提示。
http://www.bobpowell.net/bubbletooltip.htm

" Webster" <无*** @ nowhere.com>在消息中写道
新闻:Od ************** @ TK2MSFTNGP11.phx.gbl ...
You can create tooltips relatively easily. I use a native window and
an extender-provider component. Handle all the drawing yourself and
you can add images and so-on.

If you want a full example, I published a tooltip component in Well
Formed last month http://www.bobpowell.net/currentissue.htm

If you want a complete commercial solution I sell a tooltip that has
irregular outlines, icons and everything.
http://www.bobpowell.net/bubbletooltip.htm
"Webster" <no***@nowhere.com> wrote in message
news:Od**************@TK2MSFTNGP11.phx.gbl...
你好,
我想知道是否有办法创建工具提示但是添加
图形。目前我有一个动态添加
图形/标签/等的图片框,但当这个工具提示时,在形式的边缘,由于形式的缘故,它会被切断。

那么无论如何要做出更丰富的工具提示?
或者有办法我的图片框浮在上面(外面)的
表格?

- 问候,
韦伯斯特
Hello,

I was wondering if there''s a way to create a tooltip but add
graphics to it. Currently I have a picturebox that I dynamically add
graphics/labels/etc to, but when this "tooltip" is on the edge of
the form, it gets cut off because of the form.

So is there anyway to make a richer tooltip??
Or is there a way for my picturebox to float above (outside) of the
form??

--
Regards,
Webster




问候 - OHM#在********** @ BTInternet。 com





我总是尽力提供广泛的代码示例,

我会找到很多完整的应用程序帖子,特别是在C#

论坛上,我提供了大量精心撰写的文章和

示例在我的网站上。当请求出现时; 你能花一个小时

或者两个写一些免费代码而且我没有任何可以切割的东西和

粘贴然后我做出决定提供商业选项作为RTM风格的帮助的替代品。我确实试着保持低调的价格和平衡的存在感。


我以非常低的成本提供订阅服务,我希望我的读者< b / b
将证明那里材料的质量和数量。


我没有垃圾邮件新闻组,如果我宣布我总是礼貌地用

ANN:在主题行之前标记,我保留在我的签名中拥有我的网站

和服务的权利,因为我以此为生。


创建工具提示的代码长达几百行,我的提示是

我认为阅读的技术已经足够了。


所有这一切,我想在这个VB组中为任何人提供一个免费的

发行的VB版本的Well-Formed,以便如果必要,那个人可以

有源代码以及其他一些很好的例子,并为自己判断它们是b $ b。如果您想要一份副本,包括带有工具提示

控制权的副本,请查看 http://www.bobpowell.net/vb_offer.htm 填写您的

名称和电子邮件地址,选择您想要的版本取样并离开

剩下的给我。

-

鲍勃鲍威尔[MVP]

C#, System.Drawing


11月版的Well Formed现已推出。

了解如何在托管代码中创建Shell扩展。
http://www.bobpowell.net/currentissue.htm


使用GDI +常见问题解答回答那些GDI +问题
http: //www.bobpowell.net/gdiplus_faq.htm

http://bobpowelldotnet.blogspot.com


" One Handed Man [OHM#]" < OneHandedMan @& REMOVE& TO%MAIL%MEBTInternet.com>

在消息新闻中写道:uw **************** @ TK2MSFTNGP09.phx .gbl ...
Hi,

I always make a point of providing extensive code examples wherever I can,
you''ll find lots of complete application posts from me especially on the C#
forums and I provide large amounts of carefully written articles and
examples on my site. When a request comes along like; "Can you spend an hour
or two writing me some free code" and I don''t have anything I can cut and
paste then I make the descision to offer commercial options as an
alternative to the RTM style of assistance. I do try to maintain a low-key
and balanced presence.

I offer a subscription service at a very low cost and I hope that my readers
will attest to the quality and quantity of the material in there.

I do not spam the newsgroups and if I announce I always do so politely with
an ANN: tag before the subject line and I reserve the right to have my site
and services in my signature because I make my living doing this.

The code to create a tooltip is several hundred lines long and my hints at
the techniques to read up on were, in my opinion sufficient.

All that being said I would like to offer anyone on this VB group one free
issue of the VB edition of Well-Formed so that if neccesary the person can
have the source code along with a couple of other great examples and judge
it for themselves. If you''d like a copy, including the one with the tooltip
control in it, check out http://www.bobpowell.net/vb_offer.htm Fill in your
name and email address, choose the edition you''d like to sample and leave
the rest to me.
--
Bob Powell [MVP]
C#, System.Drawing

The November edition of Well Formed is now available.
Learn how to create Shell Extensions in managed code.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com

"One Handed Man [ OHM# ]" <OneHandedMan@&REMOVE&TO%MAIL%MEBTInternet.com>
wrote in message news:uw****************@TK2MSFTNGP09.phx.gbl...
Bob,
我非常尊重。

我不认为你使用这个新闻组做广告是对的。
专业知识,如果在这里免费提供,这不是出售您的
商品和服务的地方,无论他们或您可能是好的。

问候 - OHM#

Bob Powell [MVP]写道:
Bob,
With the greatest respect.

I dont think it is right that you are using this newsgroup to advertise.
Expertise if given freely here and this is not the place to sell your goods and services however good they or you might be.
Regards - OHM#
Bob Powell [MVP] wrote:
您可以相对轻松地创建工具提示。我使用本机窗口和扩展程序提供程序组件。自己处理所有绘图并且
你可以添加图像等等。

如果你想要一个完整的例子,我在上个月发布了一个工具提示组件
rel =nofollowhref =http://www.bobpowell.net/currentissue.htmtarget =_ blank> http://www.bobpowell.net/currentissue.htm
<如果你想要一个完整的商业解决方案,我会推出一个具有不规则轮廓,图标和一切的工具提示。
http://www.bobpowell.net/bubbletooltip.htm

" Webster" <无*** @ nowhere.com>在消息中写道
新闻:Od ************** @ TK2MSFTNGP11.phx.gbl ...
You can create tooltips relatively easily. I use a native window and
an extender-provider component. Handle all the drawing yourself and
you can add images and so-on.

If you want a full example, I published a tooltip component in Well
Formed last month http://www.bobpowell.net/currentissue.htm

If you want a complete commercial solution I sell a tooltip that has
irregular outlines, icons and everything.
http://www.bobpowell.net/bubbletooltip.htm
"Webster" <no***@nowhere.com> wrote in message
news:Od**************@TK2MSFTNGP11.phx.gbl...
你好,
我想知道是否有办法创建工具提示但是添加
图形。目前我有一个动态添加
图形/标签/等的图片框,但当这个工具提示时,在形式的边缘,由于形式的缘故,它会被切断。

那么无论如何要做出更丰富的工具提示?
或者有办法我的图片框浮在上面(外面)的
表格?

- 问候,
韦伯斯特
Hello,

I was wondering if there''s a way to create a tooltip but add
graphics to it. Currently I have a picturebox that I dynamically add
graphics/labels/etc to, but when this "tooltip" is on the edge of
the form, it gets cut off because of the form.

So is there anyway to make a richer tooltip??
Or is there a way for my picturebox to float above (outside) of the
form??

--
Regards,
Webster



问候 - OHM# On ********** @ BTInternet.com



这篇关于创建丰富的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆