Some keywords in MS Outlook style Add Underline Recipient Edit Box

zhaozj2021-02-16  56

Download source code

http://www.foolab.com/download/checkedit_src.zip

Download sample program

http://www.foolab.com/download/checkedit_demo.zip

Introduction

This part of the code mainly implements the recipient editing box similar to Outlook, which is used to check the next underscore when the name is checked.

To apply it to my Outplay (Similar to Outlook Mail Programs).

Prior to this, I got about several grammar coloring procedures on CodeGuru, but they were very complicated in my application.

Bloated. So, I have to do myself: For the convenience of access, I have derived Ceditex from the CEDIT, but how is the problem?

What is the content of the implementation?

It is also to say that the sample engineering uses VC 6.0, it only provides a simple reference, you should optimize it

Characteristic

1, support flat display

2, support the dynamic syntax coloring (you only need to modify the addition of different types)

3, support automatic adding underscore

What should you do?

Add files editex.h and editex.cpp to your project, then change the CEDIT object to CEDITEX,

At the same time, the function setEx () is called when initialization.

It is so simple, I bet, after watching the source code, you can do just one minute.

history

VESION: 1.0 Release 11 Jun 2003 by lazen

转载请注明原文地址:https://www.9cbs.com/read-24720.html

New Post(0)