Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
instant required
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
abxyz
New Member
Join Date:
Oct 2006
Posts:
2
#1
instant required
Oct 29 '06, 11:29 AM
urgent required :
how to get input from edit box in vc++ using GetWindowText function
abxyz
New Member
Join Date:
Oct 2006
Posts:
2
#2
Oct 29 '06, 11:39 AM
how to use GetWindowText,S etWindowText functions to get input from edit box in vc++
how to use GetWindowText,S etWindowText functions to get input from edit box in vc++.i have 2 submit this 2day
Comment
Post
Cancel
Banfa
Recognized Expert
Expert
Join Date:
Feb 2006
Posts:
9067
#3
Oct 30 '06, 06:01 PM
You call GetWindowText this the edit box window handle and a pointer to the buffer and the size of the buffer
GetWindowText(h EditWnd, buffer, sizeof buffer);
But it is more usual to use GetDlgItemText which is called with the controls parent and the ID of the control
GetDlgItemText( hParentWnd, ID_CTRL_EDIT, buffer, sizeof buffer);
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment