Advertisement

1 - 10 of 308 containing alltags:("cedit") (0 seconds)
Hello, I have a CFormView dialog which has more than 100 CEdit boxes.  I switch the ReadOnly attributes back and forth with CEdit ->ReadOnly(BOOL).  The problem is that when I switch pages (this i...
Zones: Windows MFCDate Answered: 04/15/1998 Grade: A Views: 0
I feel stupid to ask this, but I am a beginner at C++ ;-) (Visual C++ 5) What is the best way to write a Double type value into an CEdit box? Do I have to convert it to CString and if: How do I ...
Zones: Windows MFCDate Answered: 06/09/1998 Grade: B Views: 0
I'm trying to insert a string into a multi-line edit box of class CEdit. The string contains carriage-return characters ('\n') and I want the edit box to seperate the string into different lines at...
Zones: Windows MFCDate Answered: 07/14/1998 Grade: A Views: 0
I'm using a Visual C++ edit box. Whenever <Enter> is pressed within the edit box, the program terminates.  How can I keep this from happening? I'd also like to know how to select the exisiting d...
Zones: C++Date Answered: 08/08/1998 Grade: C Views: 0
I have no OK button or items in my dialog which call the OnOK() function.  However, any time return is hit my program terminates. I have tried PreTranslateMessage to no avail (perhaps I am calling...
Zones: C++Date Answered: 08/10/1998 Grade: A Views: 0
Hi, I have a CEdit control which is multiline. How do I prevent going to next line when pressing right arrow in the end of a line and similar, prevent going to previous line when presseng left arr...
Zones: Windows MFCDate Answered: 10/21/1998 Grade: A Views: 0
How do I append a line to a CEdit control from code? Is there a character that is used for new lines? I thought it was '\n', so I used this:             m_textExplanation.ReplaceSel("...\n"); That works to g...
Zones: Windows MFCDate Answered: 11/25/1998 Grade: A Views: 4
Hi:     I have a class derived from a CControlBar.  One of it's data members is a CEdit object.  I create this object on the fly using m_wndEdit.Create(args).  I need access to this CEdit object fr...
Zones: Windows MFCDate Answered: 02/03/1999 Grade: A Views: 0
i need to display a dialog (quick and dirty) to display text debug info. i put a multiline CEdit in the dialog...and as you probably know, '\r\n' nor '\n' cause a new line if i put them in the st...
Zones: Windows MFCDate Answered: 02/03/1999 Grade: A Views: 0
In the resource editor one can set the property of a CEdit control to be "Number".  Now, in my code is there a function I can call to see if that property has been set?  Is there also a function wh...
Zones: Windows MFCDate Answered: 02/23/1999 Grade: A Views: 0