HeaderPane
Main
Hide
Share Link
Print

Samples

SftMask/OCX 8.0 includes sample code for C#, VB.NET and C++/MFC. Even though C samples are not included, the Syntax section for properties, methods and events also shows the C syntax.

The following samples can be found in the folder C:\Program Files (x86)\Softelvdm\SftMask OCX 8.0\Samples:

C#

SampleDescription
C# Sample1 SampleIllustrates various Masked Edit controls.
C# Sample2 SampleIllustrates autocomplete.
C# Sample3 SampleIllustrates captions.
C# Sample4 SampleIllustrates input validation.

VB.NET

SampleDescription
VB.NET Sample1 SampleIllustrates various Masked Edit controls.
VB.NET Sample2 SampleIllustrates autocomplete.
VB.NET Sample3 SampleIllustrates captions.
VB.NET Sample4 SampleIllustrates input validation.

C++

SampleDescription
C++ Sample1 SampleIllustrates various Masked Edit controls.
C++ Sample2 SampleIllustrates autocomplete.
C++ Sample3 SampleIllustrates captions.
C++ Sample4 SampleIllustrates input validation.

Code Examples

The following examples are not complete projects. They show basic concepts and the syntax used and are the source of the code examples shown for the properties, methods and events of the reference section.

ExampleDescription
C# AutoComplete1 Sample, VB.NET AutoComplete1 Sample, C++ AutoComplete1 SampleIllustrates autocomplete.
C# Calc1 Sample, VB.NET Calc1 Sample, C++ Calc1 SampleIllustrates using a popup calculator.
C# Date1 Sample, VB.NET Date1 Sample, C++ Date1 SampleIllustrates a popup calendar with validation.
C# Date2 Sample, VB.NET Date2 Sample, C++ Date2 SampleIllustrates a popup calendar.
C# DragDrop1 Sample, VB.NET DragDrop1 Sample, C++ DragDrop1 SampleIllustrates using an OLE drag source.
C# DragDrop2 Sample, VB.NET DragDrop2 Sample, C++ DragDrop2 SampleIllustrates using an OLE drop target.
C# DragDrop3 Sample, VB.NET DragDrop3 Sample, C++ DragDrop3 SampleIllustrates using an OLE drop target.
C# Fmt1 Sample, VB.NET Fmt1 Sample, C++ Fmt1 SampleIllustrates date, time and number formatting.
C# InputMode1 Sample, VB.NET InputMode1 Sample, C++ InputMode1 SampleIllustrates insert/overtype mode and the InputModeUpdate event.
C# IP1 Sample, VB.NET IP1 Sample, C++ IP1 SampleIllustrates IP address entry.
C# MouseIcon1 Sample, VB.NET MouseIcon1 Sample, C++ MouseIcon1 SampleIllustrates overriding the mouse cursor.
C# Password1 Sample, VB.NET Password1 Sample, C++ Password1 SampleIllustrates password input.
C# Phone1 Sample, VB.NET Phone1 Sample, C++ Phone1 SampleIllustrates phone number entry.
C# Phone2 Sample, VB.NET Phone2 Sample, C++ Phone2 SampleIllustrates phone number entry.
C# PromptChar1 Sample, VB.NET PromptChar1 Sample, C++ PromptChar1 SampleIllustrates pin code entry.

Last Updated 11/15/2026 - (email)
© 2026 Softel vdm, Inc.