Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: NT Service - working directory Pin
Michael Dunn7-Aug-06 7:26
sitebuilderMichael Dunn7-Aug-06 7:26 
AnswerRe: NT Service - working directory Pin
David Crow7-Aug-06 8:15
David Crow7-Aug-06 8:15 
AnswerRe: NT Service - working directory Pin
Vipin Aravind7-Aug-06 8:59
Vipin Aravind7-Aug-06 8:59 
AnswerRe: NT Service - working directory Pin
Hamid_RT8-Aug-06 6:37
Hamid_RT8-Aug-06 6:37 
QuestionNo browse info in VS2005 Pin
Jim A. Johnson7-Aug-06 5:14
Jim A. Johnson7-Aug-06 5:14 
QuestionCDialogBar with ScrollBar [modified] Pin
hsdjusa7-Aug-06 5:00
hsdjusa7-Aug-06 5:00 
AnswerRe: CDialogBar with ScrollBar Pin
Michael Dunn7-Aug-06 7:28
sitebuilderMichael Dunn7-Aug-06 7:28 
QuestionA trouble question about the dialog Pin
xuwenq887-Aug-06 4:50
xuwenq887-Aug-06 4:50 
I was trouble by this problem for a long time!
I insert a new dialog template which ID is IDD_DLG_MYDLG
and create a new dialog class named CMydlg;
and I use this dialog in my application :
ex:

void CMyapp::showDlg(CString str)<br />
{<br />
    CMydlg *dlg=new CMydlg;<br />
    dlg->Create(IDD_DLG_MYDLG, this);<br />
    dlg->ShowWindow(1);<br />
    dlg->SetWindowText(str); //"my dialog 1";<br />
}


Now, I click one button to show my dialog
ex:
void CMyapp::showMydlg(void)<br />
{<br />
     showDlg("my dialog 1");<br />
     showDlg("my dialog 2");<br />
}

then, I want to know that the first dialog I created is close or still active,
I don't know how to specify that the dialog , which has some mark to specify it, or else , I use the function showMydlg, it will create lots of dialog, I want to show it if it was not created, or create it if it is not showing!

if some one know ,please tell me , it was so trouble thing, that some one use my application, who continuously clicked one button , so many dialog show make me shy!

if you know what I mean , please give me a better way to solve it !

waiting for answers online!

Just my interest for these common things

AnswerRe: A trouble question about the dialog Pin
Cedric Moonen7-Aug-06 5:05
Cedric Moonen7-Aug-06 5:05 
GeneralRe: A trouble question about the dialog Pin
xuwenq887-Aug-06 17:41
xuwenq887-Aug-06 17:41 
GeneralRe: A trouble question about the dialog Pin
Cedric Moonen7-Aug-06 20:19
Cedric Moonen7-Aug-06 20:19 
GeneralRe: A trouble question about the dialog Pin
xuwenq8812-Aug-06 5:27
xuwenq8812-Aug-06 5:27 
Questionpacket Filtering with Pfbindinterfacetoindex Pin
_tasleem7-Aug-06 4:16
_tasleem7-Aug-06 4:16 
AnswerRe: packet Filtering with Pfbindinterfacetoindex Pin
Viorel.7-Aug-06 4:26
Viorel.7-Aug-06 4:26 
GeneralRe: packet Filtering with Pfbindinterfacetoindex Pin
_tasleem7-Aug-06 19:18
_tasleem7-Aug-06 19:18 
QuestionClassView Clutter in eMbedded Visual C++ Pin
Kegs457-Aug-06 3:50
Kegs457-Aug-06 3:50 
AnswerRe: ClassView Clutter in eMbedded Visual C++ Pin
Mike Dimmick14-Aug-06 16:52
Mike Dimmick14-Aug-06 16:52 
QuestionOnPositionChange doesn't work! [modified] Pin
dSolariuM7-Aug-06 3:46
dSolariuM7-Aug-06 3:46 
QuestionAgain trouble with sorting COleSafeArray ! :) Pin
bosfan7-Aug-06 3:41
bosfan7-Aug-06 3:41 
AnswerRe: Again trouble with sorting COleSafeArray ! :) Pin
Zac Howland7-Aug-06 5:23
Zac Howland7-Aug-06 5:23 
GeneralRe: Again trouble with sorting COleSafeArray ! :) Pin
bosfan7-Aug-06 21:08
bosfan7-Aug-06 21:08 
Questiontracking mouse movement over button Pin
Manjunath S7-Aug-06 3:13
Manjunath S7-Aug-06 3:13 
AnswerRe: tracking mouse movement over button Pin
Maximilien7-Aug-06 4:32
Maximilien7-Aug-06 4:32 
GeneralRe: tracking mouse movement over button Pin
Manjunath S7-Aug-06 5:13
Manjunath S7-Aug-06 5:13 
AnswerRe: tracking mouse movement over button Pin
Hamid_RT7-Aug-06 21:46
Hamid_RT7-Aug-06 21:46 

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.