473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Updated HTML editor/display control

I've updated the HtmlEditor here:

http://www.itwriting.com/htmleditor/index.php

This is a free-to-use C# control which hosts mshtml as an Active Document.
Main changes are improved focus handling, fixed a bug in document cleanup,
added user-friendly properties and methods to wrap the most useful
mshtml commands. Better declaration of IOLECommandTarget.Exec means
that IDM_COMPOSESETTINGS now works, although having tried it
I don't like it much because of course it inserts a FONT tag.

Thanks to the efforts of others all the standard keyboart shortcuts now
work, such as Ctrl-A for Select All, and even Ctrl-F for the Find dialog.

I also experimented with a version that does not use the mshtml PIA.
I got this working but was surprised to find little benefit. Faster loading
time and reduced mem. usage (of about 2MB) but that's it. The 2MB
saving may seem a lot, but that's in the context of a typical winform app
unfortunately it's not that much. So I'm sticking with the PIA for the
moment as it's a lot more convenient, especially if you need to work with
the mshtml DOM.

Tim
Nov 15 '05 #1
0 857

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
15
by: Pasta Bolognese | last post by:
Open VS.2003. Click on a control on an aspx page in the HTML view. Does it tell me the pixel position on the page? Nooooooooooo.................
6
by: Michael C | last post by:
Anyone know of a good HTML Rendering control? I need a control that will render and display HTML in a Windows form. It doesn't need to pull down HTML pages from the Web - I'll feed it all the...
4
by: ALESSANDRO Baraldi | last post by:
Good evening. Few day ago i ask about this Object. A very kindly replay of Sthepen Lebans give me the solution to use ClipBoard to synthesise the Conversion, but i've some truble. My scene: ...
0
by: Tim Anderson | last post by:
I've updated the HtmlEditor here: http://www.itwriting.com/htmleditor/index.php This is a free-to-use C# control which hosts mshtml as an Active Document. Main changes are improved focus...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
12
by: Jim Hammond | last post by:
I am passing the whole object instead or parameters in my select and update methods. I can get the updated object if I set UpdateMethod, let ASP.NET autogenerate an update button, and then press...
4
by: Michael | last post by:
Dear all .. If I want to use develop a user control and declare a public property which the type is System.Windows.Forms.GridTableStylesCollection For example : Public Class LookAndView...
5
by: Joe | last post by:
We're looking for a fully functional RTF/HTML editor for our WinForms application. We need a control with the following features: 1. Supports image 2. Supports hyperlinks (auto detects) and...
0
by: akingsly | last post by:
Hai, I am using a html editor control in windows application. For eg. I was having a html file(say test.html). When I opened the file thru html editor control I can't view the images in that...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.