Jump to content


Photo
- - - - -

3rd Party Spell Checker


3 replies to this topic

#1 Joseph Bove

Joseph Bove

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 756 posts
  • Gender:Male
  • Location:Ramsey, United States

Posted 22 June 2005 - 02:23 PM

Dear gang,

Has anyone come across a "good" 3rd party spell checker to use with ActiveX? We are having issues with the spell checker from MS Word as it relates to HTML.

Any tips would be greatly appreciated.

Regards,

Joseph

#2 gdmjdkc

gdmjdkc

    Member

  • Members
  • PipPip
  • 38 posts

Posted 22 June 2005 - 07:59 PM

I have had good luck using WSpell from Wintertree Software.

http://www.wintertre....com/index.html

This requires a text box that can pass the hwnd property to the spell checker. We used Microsofts ActiveX text box that is used in the ProIV Demo with VIP. Their is a problem with it however that the scroll bar does not work and can not be set from ProIV, it is a design time setting. I now have an updated version that I put a VB wrapper around that brings in the control with the scroll bar turned on. It would be a simple thing to do for any one who has created an ActiveX control.

This spell checker can be purchased with a developers license and free runtime license the cost is relatively low. It takes very little code and you can be up and running.

Once the controls are in place the following code placed in the "On Focus" property of the ActiveX text box.

GrpWriteX.MaxLength = 1000 // sets length limit of text box, remember ProIV has a limit of 2k.
$HANDLE = GrpWriteX.Hwnd // grabs windows handle of text box when it becomes active

The this code place in the "Before Write" event will do the entire process.

#SPELLSTART = 0
GrpWriteX.HideSelection = FALSE
Wspell.ShowContext = FALSE
Wspell.IgnoreCapitalizedWords = FALSE
Wspell.IgnoreMixedCaseWords = FALSE
Wspell.TextControlHWnd = CONV($HANDLE)
#SPELLSTART = Wspell.Start()
MRSITUATIONG = GrpWriteX.Text

They also have and SDK version that we looked at but this made more sense for out application.

Hope this helps.

#3 Joseph Bove

Joseph Bove

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 756 posts
  • Gender:Male
  • Location:Ramsey, United States

Posted 23 June 2005 - 05:42 PM

gdmjdkc,

Thanks for the tip.

Joseph

#4 deepghosh

deepghosh

    Member

  • Members
  • PipPip
  • 37 posts
  • Gender:Male

Posted 24 June 2005 - 09:21 AM

I have helped some one before with Wintertree wrapping successfully.

Let me know if you need help.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users