Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2005

Tip: Looking for answers? Try searching our database.

Edit Box question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam - 11 Mar 2005 01:51 GMT
Hello,

Is there a way to have access to the text buffer of an Edit box from it
hwnd.  I can use SetWindowText, but this function triggers the control to be
painted with the new text.  I want to change the text in the underlying edit
box without displaying the new text.

Thanks for your help.

Martin Richter [MVP] - 11 Mar 2005 07:57 GMT
Hallo Sam!

> Is there a way to have access to the text buffer of an Edit box from it
> hwnd.  I can use SetWindowText, but this function triggers the control to be
> painted with the new text.  I want to change the text in the underlying edit
> box without displaying the new text.

This is not possible.
The control will always show whats in it.

Signature

Martin Richter [MVP] WWJD
"In C we had to code our own bugs. In C++ we can inherit them."
FAQ : http://www.mpdvc.de
Samples: http://www.codeguru.com http://www.codeproject.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.