Questions tagged [cedit]

Use this tag for questions related to the CEdit class (Windows edit control).

An edit control is a rectangular child window in which the user can enter text.

More in the MSDN documentation.

99 questions
0
votes
3 answers

How to get CEdit to scroll properly?

I have a CEdit control that's used to display a diagnostics output. Sometimes the data overflows the screen size, so naturally I set the Vertical Scroll property to true (MFC dialog editor). But then, when I tried to scroll the text that was in…
CodeFusionMobile
  • 14,812
  • 25
  • 102
  • 140
0
votes
2 answers

MFC custom CEdit password support

I'm having a little trouble making a custom CEdit class i have added most and gave it some style but hit a stump i have googled most of the day with no luck guess Google hates me today. OK so i have inherited the class CEdit i have rewrote the…
BigDave
  • 81
  • 2
  • 9
0
votes
1 answer

MFC Ribbon CEdit Textbox Allignment in Panel

I am trying to align two text boxes with two buttons in a panel, and I am unable to find anything about how to force positioning inside the MFC Ribbon Panels. Here is a picture of what I have currently. https://i.stack.imgur.com/HEXN6.jpg (Sorry…
Pete
  • 1
0
votes
1 answer

Handling dynamic text editing in an MFC CView

I have a class that implements OnDraw to draw text and images to a CView. At certain times (ie onClick) I would like this text to be editable in place. What would be the best way to implement this? Have the class have a CEdit object that I hide…
DanDan
  • 10,462
  • 8
  • 53
  • 69
0
votes
2 answers

MFC CEdit passing pParentWnd

I am creating a very very simple spreadsheet type application. It has a grid that draws cells and the user can specify the cell type (text, check box, radio button). I'm trying to get the text to work out. In the main View class I have: void…
mgalal
  • 427
  • 12
  • 24
0
votes
2 answers

MFC Search Edit Box

I am looking for Search box control something like this Are there any controls available in the MFC or we need to create our own, any example / refrence code is there that we can refer, I tried googling, but i am more getting CEditComboBox…
Amitg2k12
  • 3,765
  • 10
  • 48
  • 97
-1
votes
2 answers

Pass value from a CEdit on one dialog box to another dialogs CEdit Control

I have a Browse file/print file path function and a parent/Child window, I need help in passing path printed on a EditControl from child(dialog2) to parent(dialog1)control edit box. please, HELP! See code below: dialog1.cpp dialog2 Dlg; …
-1
votes
2 answers

MFC CEdit input limits text to 10 characters on 4k resolution

I use a CEdit text field to input a search term in an MFC application. When using it on FullHD resolution it works fine, I can input as long as big of a string as i need, but when using on 4k resolution the text is limited to 10 characters. The…
user3808318
  • 827
  • 1
  • 8
  • 15
-1
votes
1 answer

Background of the control is becoming dark on minimising and maximizing the window

Control background is getting changed after minimizing and maximizing the window. I want the background to be same and transparent. This is an ActiveX control. which can be used in multiple projects. CEdit is the base class for this control on…
Anoop Kumar
  • 137
  • 10
1 2 3 4 5 6
7