Click here to Skip to main content
15,905,612 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmacro representing Visual C++ compiler Pin
manustone23-Oct-06 22:33
manustone23-Oct-06 22:33 
AnswerRe: macro representing Visual C++ compiler Pin
Cedric Moonen23-Oct-06 22:50
Cedric Moonen23-Oct-06 22:50 
GeneralRe: macro representing Visual C++ compiler Pin
manustone23-Oct-06 23:04
manustone23-Oct-06 23:04 
GeneralRe: macro representing Visual C++ compiler Pin
Sceptic Mole24-Oct-06 2:50
Sceptic Mole24-Oct-06 2:50 
QuestionFind window and click a button there? Pin
9ine23-Oct-06 22:01
9ine23-Oct-06 22:01 
AnswerRe: Find window and click a button there? Pin
tanvon malik23-Oct-06 22:20
tanvon malik23-Oct-06 22:20 
GeneralRe: Find window and click a button there? Pin
fat_boy23-Oct-06 23:37
fat_boy23-Oct-06 23:37 
QuestionCall to Dialog causes error Pin
romuzu23-Oct-06 22:00
romuzu23-Oct-06 22:00 
I have created a function display a dialog. When I try to show a previously selected window, it causes error. :(What seems to be the problem? Here’s my code:

void CProjectView::SetSelectedDialog(CDialog* dialog)
{
if(m_pSelectedDialog)
{ //Hide previously selected window
m_pSelectedDialog->ShowWindow(SW_HIDE);
}

if(dialog)
{ // show Selected Window
CRect rect;
GetClientRect( &rect );
m_pSelectedDialog = dialog;
m_pSelectedDialog->MoveWindow(rect, TRUE);
m_pSelectedDialog->ShowWindow(SW_SHOW);
}

}

AnswerRe: Call to Dialog causes error Pin
Cedric Moonen23-Oct-06 22:07
Cedric Moonen23-Oct-06 22:07 
AnswerRe: Call to Dialog causes error Pin
Hamid_RT23-Oct-06 22:11
Hamid_RT23-Oct-06 22:11 
Questionhow many Byte is once by send function? Pin
hanlei000000000923-Oct-06 21:53
hanlei000000000923-Oct-06 21:53 
AnswerRe: how many Byte is once by send function? Pin
GDavy23-Oct-06 22:31
GDavy23-Oct-06 22:31 
Questiontabstop Pin
Desmo1623-Oct-06 21:49
Desmo1623-Oct-06 21:49 
AnswerRe: tabstop Pin
tanvon malik23-Oct-06 22:08
tanvon malik23-Oct-06 22:08 
GeneralRe: tabstop Pin
Desmo1623-Oct-06 22:21
Desmo1623-Oct-06 22:21 
GeneralRe: tabstop Pin
tanvon malik23-Oct-06 23:36
tanvon malik23-Oct-06 23:36 
AnswerRe: tabstop Pin
Hamid_RT23-Oct-06 22:12
Hamid_RT23-Oct-06 22:12 
QuestionSuspend layout [modified] Pin
baerten23-Oct-06 21:50
baerten23-Oct-06 21:50 
AnswerRe: Suspend layout Pin
Naveen24-Oct-06 0:42
Naveen24-Oct-06 0:42 
GeneralRe: Suspend layout Pin
baerten24-Oct-06 2:28
baerten24-Oct-06 2:28 
Questiontab order Pin
Desmo1623-Oct-06 21:45
Desmo1623-Oct-06 21:45 
AnswerRe: tab order Pin
tanvon malik23-Oct-06 21:59
tanvon malik23-Oct-06 21:59 
AnswerRe: tab order Pin
fat_boy23-Oct-06 23:40
fat_boy23-Oct-06 23:40 
QuestionProblem to call destructor Pin
ascom223-Oct-06 20:29
ascom223-Oct-06 20:29 
AnswerRe: Problem to call destructor Pin
Cedric Moonen23-Oct-06 20:41
Cedric Moonen23-Oct-06 20:41 

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.