Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Speech SDK Pin
alex__b2-Aug-05 4:43
professionalalex__b2-Aug-05 4:43 
GeneralEthernet/ network question Pin
Stan the man29-Jul-05 17:27
Stan the man29-Jul-05 17:27 
GeneralRe: Ethernet/ network question Pin
geo_m31-Jul-05 10:12
geo_m31-Jul-05 10:12 
GeneralRestricting area in editable HTML user can edit. Pin
David Fleming29-Jul-05 16:35
David Fleming29-Jul-05 16:35 
GeneralRe: Restricting area in editable HTML user can edit. Pin
David Fleming1-Aug-05 20:43
David Fleming1-Aug-05 20:43 
GeneralEdit Box Notification Pin
Member 12742129-Jul-05 14:13
Member 12742129-Jul-05 14:13 
GeneralRe: Edit Box Notification Pin
John R. Shaw29-Jul-05 14:29
John R. Shaw29-Jul-05 14:29 
GeneralRe: Edit Box Notification Pin
Stan the man29-Jul-05 17:13
Stan the man29-Jul-05 17:13 
Hi.

I had a similar situation. What I do is this:

In OnChar, I set a var to detect if something is being entered. If so, then in the DefWinProc if the message is WM_SETTEXT, then I do NOT accept it so that the Text you are entering on screen is NOT being overriden but is SAVED to variable. In the Pretranslate Message, if the message is WM_KEYDOWN with VK_RETURN, it will then accept this new entry you just entered on screen. If there is no enter and the focus is lost then it will set the text to that Last SAVED text (from other parts of the program OR last entered data.

I hope this will help a little.
GeneralVery very stupid question Pin
Lampros Giampouras29-Jul-05 12:53
Lampros Giampouras29-Jul-05 12:53 
GeneralRe: Very very stupid question Pin
John R. Shaw29-Jul-05 13:48
John R. Shaw29-Jul-05 13:48 
GeneralRe: Very very stupid question Pin
Toby Opferman29-Jul-05 14:00
Toby Opferman29-Jul-05 14:00 
GeneralRe: Very very stupid question Pin
John R. Shaw29-Jul-05 14:20
John R. Shaw29-Jul-05 14:20 
GeneralRe: Very very stupid question Pin
ThaSaVa30-Jul-05 0:01
ThaSaVa30-Jul-05 0:01 
GeneralRe: Very very stupid question Pin
Lampros Giampouras30-Jul-05 2:48
Lampros Giampouras30-Jul-05 2:48 
Generallocalizing problem Pin
Razi Al-Sayed29-Jul-05 9:53
Razi Al-Sayed29-Jul-05 9:53 
GeneralRe: localizing problem Pin
Michael Dunn29-Jul-05 19:09
sitebuilderMichael Dunn29-Jul-05 19:09 
Questioncomport; never reaches EOF? Pin
quarry_0629-Jul-05 9:15
quarry_0629-Jul-05 9:15 
QuestionMFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 7:55
Anacreon29-Jul-05 7:55 
AnswerOne other note Pin
Anacreon29-Jul-05 8:25
Anacreon29-Jul-05 8:25 
AnswerRe: MFC Dll in non-MFC app? Pin
Michael Dunn29-Jul-05 9:46
sitebuilderMichael Dunn29-Jul-05 9:46 
GeneralRe: MFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 10:07
Anacreon29-Jul-05 10:07 
GeneralRe: MFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 10:27
Anacreon29-Jul-05 10:27 
GeneralRe: MFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 10:44
Anacreon29-Jul-05 10:44 
General#include problem Pin
massad29-Jul-05 6:03
massad29-Jul-05 6:03 
GeneralRe: #include problem Pin
John R. Shaw29-Jul-05 6:36
John R. Shaw29-Jul-05 6:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.