Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multithreaded App Pin
Rajesh R Subramanian14-Oct-09 4:30
professionalRajesh R Subramanian14-Oct-09 4:30 
GeneralRe: Multithreaded App Pin
Manmohan2914-Oct-09 5:55
Manmohan2914-Oct-09 5:55 
Questionresolving link error LNK1241 Pin
KASR113-Oct-09 19:40
KASR113-Oct-09 19:40 
AnswerRe: resolving link error LNK1241 Pin
David Crow14-Oct-09 2:40
David Crow14-Oct-09 2:40 
QuestionCursor in edit box Pin
sonualex13-Oct-09 18:53
sonualex13-Oct-09 18:53 
AnswerRe: Cursor in edit box Pin
David Crow14-Oct-09 2:23
David Crow14-Oct-09 2:23 
GeneralRe: Cursor in edit box Pin
sonualex14-Oct-09 3:32
sonualex14-Oct-09 3:32 
GeneralRe: Cursor in edit box Pin
David Crow14-Oct-09 3:39
David Crow14-Oct-09 3:39 
sonualex wrote:
...all the data entered in edit box are assigned to the memeber variable of string type via class wizards..


Use a CEdit member variable instead.

sonualex wrote:
so i dnt knw what to add for setting cursor and where..


Your requirements do not indicate a need to set the cursor.

All you need to do is call m_edit.SetLimitText(1000) in the dialog's OnInitDialog() method. When you are ready to get the text to write to the file, just call m_edit.GetWindowText().

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


GeneralRe: Cursor in edit box Pin
sonualex14-Oct-09 20:46
sonualex14-Oct-09 20:46 
QuestionRe: Cursor in edit box Pin
David Crow15-Oct-09 3:00
David Crow15-Oct-09 3:00 
AnswerRe: Cursor in edit box Pin
sonualex15-Oct-09 3:32
sonualex15-Oct-09 3:32 
AnswerRe: Cursor in edit box Pin
David Crow15-Oct-09 4:10
David Crow15-Oct-09 4:10 
GeneralRe: Cursor in edit box Pin
sonualex15-Oct-09 22:38
sonualex15-Oct-09 22:38 
GeneralRe: Cursor in edit box Pin
David Crow16-Oct-09 2:34
David Crow16-Oct-09 2:34 
GeneralRe: Cursor in edit box Pin
sonualex21-Oct-09 0:26
sonualex21-Oct-09 0:26 
QuestionRe: Cursor in edit box Pin
David Crow21-Oct-09 2:29
David Crow21-Oct-09 2:29 
AnswerRe: Cursor in edit box Pin
sonualex21-Oct-09 19:24
sonualex21-Oct-09 19:24 
QuestionRe: Cursor in edit box Pin
David Crow22-Oct-09 2:41
David Crow22-Oct-09 2:41 
AnswerRe: Cursor in edit box Pin
sonualex26-Oct-09 1:54
sonualex26-Oct-09 1:54 
AnswerRe: Cursor in edit box Pin
David Crow26-Oct-09 3:05
David Crow26-Oct-09 3:05 
GeneralRe: Cursor in edit box Pin
sonualex26-Oct-09 19:42
sonualex26-Oct-09 19:42 
GeneralRe: Cursor in edit box Pin
sonualex26-Oct-09 19:43
sonualex26-Oct-09 19:43 
QuestionVisual Studio 2008 Setup Project Question ? Pin
ERLN13-Oct-09 18:16
ERLN13-Oct-09 18:16 
QuestionDDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow13-Oct-09 13:47
ForNow13-Oct-09 13:47 
AnswerRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
Code-o-mat13-Oct-09 20:50
Code-o-mat13-Oct-09 20:50 

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.