Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question: Should This Be a Fix for 3rd Party OCX
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00857904
Message ID:
00857958
Views:
22
>I have purchased the dbi-tech ctGrid Control and it's great....or I thought. I develop on a windows xp workstation and it all works perfect. I tried my new forms on a Windows 2000 workstation, and I ran into an issues. The grid control allows the users to type into a cell, or use a drop-down, checkbox, integer, etc. The problem is when the user is allowed to type into the control. It starts repeating the keystrokes. So I type the letter N, my cell fill with NNNNNNNNNNNNNNNN. But it only happens on windows 2000. I sent dbi a support request and they sent back:
>
>
>We have found that this issue is due to a Microsoft security update:
>http://support.microsoft.com/?kbid=824141
>
>The engineers are aware of this issue.  If you do a search on this issue
>(I performed one on Google user groups), there is an abundance of
>information regarding this security update.
>
>
>I did search the web and found that the only answer is to uninstall the hotfix. This does it fact work, but since most my clients do autoupdate of patches, it's not really an valid option with me. As I search more, I found this from MS:
>
>
>
>http://support.microsoft.com/?kbid=831739
>
>Characters That You Type in a Text Box May Be Repeated
>
>SYMPTOMS
>When you type characters in a text box (edit control), the characters may be repeated by the program that you are using.
>For example, when you use the SHIFT key to type an uppercase letter in a text box in Microsoft Internet Explorer, the
>letter may be repeated by the program that displays the text box in Internet Explorer. This problem occurs after you
>nstall the MS03-045 (824141) security patch, the hotfix that is documented in Microsoft Knowledge Base article 822428, or
>a later hotfix.
>
>For additional information about the MS03-045 (824141) security patch, visit the following Microsoft Web site:
>http://www.microsoft.com/technet/security/bulletin/MS03-045.asp
>
>
>For additional information about the 822428 hotfix, click the following article number to view the article in the
>Microsoft Knowledge Base:
>822428 Characters Are Dropped or Lost in Notepad When You Use a Swipe Card Reader or a Keyboard in Windows 2000
>
>
>CAUSE
>The updates that are discussed in the "Symptoms" section of this article change the way that single-line and multi-line
>edit controls handle WM_CHAR window messages. The edit control now honors the character repeat count that is specified in
>the low-word of the message's lParam parameter. The repeat count that is specified in the lParam parameter is the number
>of characters that will be inserted in the edit control when it handles a WM_CHAR message.
>
>
>If programs incorrectly specify the repeat count when they send or post WM_CHAR messages to an edit control, multiple
>characters are inserted. Before the updates that are listed in the "Symptoms" section of this article are installed, the
>edit control did not honor the specified repeat count.
>
>
>RESOLUTION
>To resolve this problem, contact the manufacturer of the program for information about a possible update to resolve this
>problem.
>
>
>
>
>So I sent them this and got the following:
>
>
>This particular issue is not a problem with the control, but with the
>update.
>
>There are no plans to provide an update to this issue.
>
>
>
>I'm no C++ guy, but from reading what the MS document say, it seems that they (dbi) should be able to fairly easily modify the code for the control to properly pass or receive this WM_CHAR thinging_ma_jigger.
>
>I was just wondering if my thinking is right and if anyone else has encountered this type of problem.
>
>Thanks
>Kirk

According to that text, you should highlight the WM_CHAR message section and resend it to them. They should be able to resolve it. The easiest way they could is to subclass the edit control, and filter the WM_CHAR messages with a 1 count for the character entries.

Good luck.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform