Advanced ActiveX Edit Control

kSet ActiveX Edit Control

For creation of the control the library ATL 3.0 and VC++ 6.0 (SP 3.0) was used.
kSet Editor control don't subclass an existing window.

Properties

Appearance: sets a appearance of control
BackColor: the background color of the control
BorderColor: the border color of the control.
ForeColor: foreground color used to display text
ContainerColor: the background color of the coneiner
Enabled: sets a value that determines if the control can receive user input
Font: the font used for the text
MouseIcon: sets a custom mouse icon
MousePointer: sets a value indicating the type of mouse pointer displayed
Text: a value that determines the text displayed in the editor box
HideSelection: a value that determines whether selected text appears highlighted when a control loses the focus.
CaretView: sets a type of caret
FontEffect:: sets a value that determines whether or not the 3d text should be show.
UndoStackSize: sets a size of undo and redo stack
Alignment: sets the alignment of text in the editor box

Methods
AboutBox
: displays the about dialog containing the product name and version.

Events
Change: Indicates the text have changed
Click: Occurs when the user presses and releases the mouse button.
DblClick: Occurs when the user presses and releases a mouse button and then presses and releases it again over an object
KeyDown: Occurs when the user presses or releases a key on the keyboard.
KeyPress: Occurs when the user presses and releases a key on the keyboard.
KeyUp: Occurs when the user presses or releases a key on the keyboard.
MouseDown: Occurs when the user presses the mouse button on the control.
MouseUp: Occurs when the user releases the mouse button after pressing it on the control.
MouseMove: Occurs when the user moves the mouse over the control.
MouseLeave: Occurs when the mouse left the client area of the control

Downloads

Download demo project - 45 Kb
Download source - 204 Kb


Comments

  • e

    Posted by themrblack on 10/12/2007 04:53am

    e

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: September 10, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild". This loop of continuous delivery and continuous feedback is …

  • The first phase of API management was about realizing the business value of APIs. This next wave of API management enables the hyper-connected enterprise to drive and scale their businesses as API models become more complex and sophisticated. Today, real world product launches begin with an API program and strategy in mind. This API-first approach to development will only continue to increase, driven by an increasingly interconnected web of devices, organizations, and people. To support this rapid growth, …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds