Edit controls let a user view and edit text.
Questions tagged [editcontrol]
97 questions
0
votes
0 answers
Increase the height of Windows native edit control as the user is typing in text
We have a text box which is in fact an instance of the standard native Windows edit control used to enter text. The control was created using CreateWindowsEx without the ES_AUTOHSCROLL flag specified. It implies that word wrapping for entered text…

TecMan
- 2,743
- 2
- 30
- 64
0
votes
1 answer
Edit Control Is Behaving The Way It Shouldn't Be
At first, I made a Corba C++ Server in Win32 Console Application following this guide, and its working. From that code, I made a Corba Server in MFC.
From the C++ Win32 Server I have this code:
cout << argv[0] << ": server 'TestServer' bound" <<…

Innistrad
- 63
- 1
- 1
- 7
0
votes
2 answers
program crash due to MessageBoxEx
i was trying to extract text from an EDIT control and display it in a MessageBox in win32, the code compiles and runs but whenever i click the button to do the task, the program stops working and crashes, i tried to trace it on my own and somehow…

Maurice Rodriguez
- 663
- 2
- 7
- 17
0
votes
2 answers
How to disable pasting words into a number-only edit control?
I am writing in C WinAPI a 'Go To Line' dialog of the notepad. I created a number only edit control. But I can still paste words into the edit control! The dialog in the windows notepad does stop this kind of pasting. So how can I do the same thing…

LeOpArD
- 488
- 2
- 6
- 14
0
votes
1 answer
How do I get the functionality of printf to an EditControl in MFC
I am developing an MFC application. The UI will contain a Listbox with multiple options.
Each selection in the list box has a respective function to be executed. I have written event handlers for doubleclick of the listbox selections.
There are few…

yashu
- 29
- 1
- 6
-1
votes
1 answer
MFC automatically moves to the next edit Box
I am creating a simple test program with MFC.
It is a program that sends 1 byte hex value to each of 10 edit control.
I want to automatically move to the next Edit box when 1 byte is entered in the edit control. How can I do this?
Thank you for…

Leo KIM
- 11
-2
votes
1 answer
How do I make a function to subtract and add values in a TEdit?
I'm new to programming, I'm looking to make a command to add and subtract values.
Where I would have a TEdit.Value with the initial value 0 and 2 more buttons, one of " + " and one of " - ", to increase or decrease the value, but I still don't know…

Bapple
- 3
- 2