Click here to Skip to main content
16,005,491 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I set exact dialog size in designer Pin
toxcct12-Dec-05 3:56
toxcct12-Dec-05 3:56 
GeneralRe: How can I set exact dialog size in designer Pin
Rage12-Dec-05 23:13
professionalRage12-Dec-05 23:13 
GeneralRe: How can I set exact dialog size in designer Pin
toxcct12-Dec-05 23:18
toxcct12-Dec-05 23:18 
GeneralRe: How can I set exact dialog size in designer Pin
Rage13-Dec-05 2:55
professionalRage13-Dec-05 2:55 
JokeRe: How can I set exact dialog size in designer Pin
toxcct13-Dec-05 2:58
toxcct13-Dec-05 2:58 
GeneralRe: How can I set exact dialog size in designer Pin
Maximilien12-Dec-05 4:19
Maximilien12-Dec-05 4:19 
QuestionUpdate CEdit control of dlg from non MFC Class Pin
victoryelectorn12-Dec-05 0:02
victoryelectorn12-Dec-05 0:02 
AnswerRe: Update CEdit control of dlg from non MFC Class Pin
khan++12-Dec-05 0:28
khan++12-Dec-05 0:28 
You can use:
class CXyz<br />
{<br />
public:<br />
CEdit* m_pEdit;<br />
void SetTheText()<br />
{<br />
m_pEdit->SetWindowText("Hello");//This will set the edit's text<br />
}<br />
<br />
};


//here, m_Xyz is a member variable of CMyDialog, an object of CXyz.

void CMyDialog::OnButton1()<br />
{<br />
m_Xyz.m_pEdit = &m_Edit;//put the variable address into the class CXyz's variable. You can do this in OnInitDialog() etc.<br />
m_Xyz.SetTheText();<br />
<br />
}



this is this.
GeneralRe: Update CEdit control of dlg from non MFC Class Pin
victoryelectorn12-Dec-05 1:04
victoryelectorn12-Dec-05 1:04 
GeneralRe: Update CEdit control of dlg from non MFC Class Pin
victoryelectorn12-Dec-05 1:21
victoryelectorn12-Dec-05 1:21 
GeneralRe: Update CEdit control of dlg from non MFC Class Pin
khan++12-Dec-05 1:30
khan++12-Dec-05 1:30 
GeneralRe: Update CEdit control of dlg from non MFC Class Pin
victoryelectorn12-Dec-05 2:09
victoryelectorn12-Dec-05 2:09 
GeneralRe: Update CEdit control of dlg from non MFC Class Pin
khan++12-Dec-05 2:17
khan++12-Dec-05 2:17 
GeneralRe: Update CEdit control of dlg from non MFC Class Pin
victoryelectorn12-Dec-05 2:35
victoryelectorn12-Dec-05 2:35 
QuestionCurrent profile of outlook and XP Pin
Analog1911-Dec-05 23:08
Analog1911-Dec-05 23:08 
AnswerRe: Current profile of outlook and XP Pin
ThatsAlok12-Dec-05 3:55
ThatsAlok12-Dec-05 3:55 
GeneralRe: Current profile of outlook and XP Pin
Analog1912-Dec-05 19:35
Analog1912-Dec-05 19:35 
QuestionWH_JOURNALPLAYBACK can not play back correctly on windows xp sometime Pin
ming78072511-Dec-05 22:15
ming78072511-Dec-05 22:15 
QuestionCDateTimeCtrl Problem Pin
romuzu11-Dec-05 20:10
romuzu11-Dec-05 20:10 
QuestionWhats te Advantage of memory dc?? Pin
vijayganesh11-Dec-05 19:59
vijayganesh11-Dec-05 19:59 
AnswerRe: Whats te Advantage of memory dc?? Pin
Calc2011-Dec-05 21:00
Calc2011-Dec-05 21:00 
GeneralRe: Whats te Advantage of memory dc?? Pin
Johann Gerell11-Dec-05 21:18
Johann Gerell11-Dec-05 21:18 
QuestionAcceleraors and Modeless Dialog Pin
TchouTchou Project11-Dec-05 19:40
TchouTchou Project11-Dec-05 19:40 
Questionmessge handler through wizard in vc.net Pin
_tasleem11-Dec-05 19:35
_tasleem11-Dec-05 19:35 
AnswerRe: messge handler through wizard in vc.net Pin
Aamir Butt11-Dec-05 23:08
Aamir Butt11-Dec-05 23:08 

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.