problem in visualc++
hi to all.
i want to get the caption of my button control during runtime i.e when i execute.can anyone help me with it.
i want to get the caption of my button control during runtime i.e when i execute.can anyone help me with it.
Replies
-
uday.bidkar
Use CWnd::GetDlgItem( /*Identifier of the Button control*/) to get CWnd* of the Button window. Call GetWindowText using this pointer to get Captin of the Button.sahanahi to all.
i want to get the caption of my button control during runtime i.e when i execute.can anyone help me with it. -
sahanathanks a ton uday,
i now hav a new problem.now what do i do if i want to set the caption name during run time i.e during execution if i click a button i want its caption name to be changed -
uday.bidkar
Follow the same procedure but call SetWindowText instead of GetWindowTextsahanathanks a ton uday,
i now hav a new problem.now what do i do if i want to set the caption name during run time i.e during execution if i click a button i want its caption name to be changed
You are reading an archived discussion.
Related Posts
hi biggie,
as you know that i have joined CE very recently. I have been going through all the forums but i thnk have not been able to read even...
there is a facility in vb that reduces the work of the mods/admins by automerging 2 consecutive posts by the same member ... i would request you to look into...
hello everyone !!
i intend to buy sound quality speakers with inbuilt FM.
REQUIREMENT:-
1. cost< Rs3000
2. only 2 speakers
3. should be branded
do yoy have any suggestions...
hi biggie,
today i read about the CE conference that took place on yahoo last year.
sadly i wasnt a member then. Is it possible to arrange another conference
this...
" Computer make it easier to do a lot of things,but most of them dont need to be done."
i came across with the above statement while surfing and felt...