English 中文(简体)
缩略语
原标题:Mimicing Tcl/Tk s Font "OnMouseEnter" behavior in a C# application

我正在研究我的朋友在Tcl/Tk写给我的一个节目。 它拥有一个具有不同颜色和字体的多线文字箱,对于文本的某些部分,应用窗口对不同文字内容的用户作出反应。 他说,在创建新界时,通过规定“MouseEnter”召回活动加以落实。 这似乎是一种冷静和leg的做法,我想在我所写的C#中做类似的事情。 目前,我可以想做的三种方式是:(a) 从X-Y型宇宙射线到文字的制图(也许在这方面有轻松的功能?) (b) 使每个不同的文本都以自己的背书功能阻止儿童控制(这很简单,需要我自己做文字总结),或(c) 使其成为网页控制,并通过网络浏览器打碎字母“C#”。 喂养。 欢迎就执行这种职能的最佳方式提出任何建议。

最佳回答

多数文本箱控制有X-Y联线,可连接到文字组的翻译功能电话。 你们可以看一看整个案文箱的变迁事件,看看 mo底是什么。

This might be ugly code but at least it would work.

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签