Click here to Skip to main content
15,893,337 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncreating dbf file and reading info from dbf Pin
kir_MFC29-Dec-09 0:18
kir_MFC29-Dec-09 0:18 
QuestionRe: creating dbf file and reading info from dbf Pin
KingsGambit29-Dec-09 0:36
KingsGambit29-Dec-09 0:36 
AnswerRe: creating dbf file and reading info from dbf Pin
kir_MFC29-Dec-09 2:05
kir_MFC29-Dec-09 2:05 
GeneralRe: creating dbf file and reading info from dbf Pin
mav@octaval29-Dec-09 2:10
mav@octaval29-Dec-09 2:10 
AnswerRe: creating dbf file and reading info from dbf Pin
dxlee29-Dec-09 3:21
dxlee29-Dec-09 3:21 
AnswerRe: creating dbf file and reading info from dbf Pin
David Crow29-Dec-09 3:34
David Crow29-Dec-09 3:34 
AnswerRe: creating dbf file and reading info from dbf Pin
Hamid_RT29-Dec-09 19:34
Hamid_RT29-Dec-09 19:34 
QuestionTwo Dialogs in Application class Pin
Anu_Bala28-Dec-09 22:46
Anu_Bala28-Dec-09 22:46 
Hi,
As i want to display two dialogs and im hiding mainframe.Just i will do all this operations through the buttons in these two dialogs.
So i did in App class as follow

pMainFrame->ShowWindow(SW_HIDE/*m_nCmdShow*/);
	pMainFrame->UpdateWindow();		
	pMainFrame->AlarmBanner();  //FirstDailog	
	pMainFrame->ToolTab(); //Second dialog


In Mainframe.cpp

void CMainFrame::AlarmBanner()
{
	CAlarmBanner *oAbanner;
	oAbanner = new CAlarmBanner;
	oAbanner->Create(IDD_ALARMBANNER,this);
	oAbanner->ShowWindow(SW_SHOW);
}

void CMainFrame::ToolTab()
{
	CToolTab *otoolbar;
	otoolbar = new CToolTab;
	otoolbar->Create(IDD_TOOLBAR_DIALOG,this);
	otoolbar->ShowWindow(SW_SHOW);

}


My problem,when i started it is continously flickiering..even it does not open properly.
Wats the mistake..what can i do to avoid that?
By commenting any dialog calling code,the other one works perfectly.But i want to display this two dialogs as one in top of screen and other one in left side of screen.

Anu

AnswerRe: Two Dialogs in Application class Pin
KingsGambit28-Dec-09 23:28
KingsGambit28-Dec-09 23:28 
GeneralRe: Two Dialogs in Application class Pin
Anu_Bala28-Dec-09 23:59
Anu_Bala28-Dec-09 23:59 
AnswerRe: Two Dialogs in Application class Pin
Nelek28-Dec-09 23:55
protectorNelek28-Dec-09 23:55 
Questionunistd.h Pin
mortaza mardani28-Dec-09 21:50
mortaza mardani28-Dec-09 21:50 
AnswerRe: unistd.h Pin
Rajesh R Subramanian28-Dec-09 22:09
professionalRajesh R Subramanian28-Dec-09 22:09 
QuestionRe: unistd.h [modified] Pin
CPallini28-Dec-09 22:16
mveCPallini28-Dec-09 22:16 
AnswerRe: unistd.h Pin
mortaza mardani31-Dec-09 9:27
mortaza mardani31-Dec-09 9:27 
QuestionCreateProcessAsUser Pin
sashoalm28-Dec-09 21:39
sashoalm28-Dec-09 21:39 
AnswerRe: CreateProcessAsUser Pin
KingsGambit28-Dec-09 22:06
KingsGambit28-Dec-09 22:06 
GeneralRe: CreateProcessAsUser Pin
sashoalm28-Dec-09 22:20
sashoalm28-Dec-09 22:20 
GeneralRe: CreateProcessAsUser Pin
KingsGambit28-Dec-09 22:25
KingsGambit28-Dec-09 22:25 
GeneralRe: CreateProcessAsUser Pin
sashoalm28-Dec-09 22:36
sashoalm28-Dec-09 22:36 
GeneralRe: CreateProcessAsUser Pin
KingsGambit28-Dec-09 22:37
KingsGambit28-Dec-09 22:37 
QuestionUtf - 8 Querys from unicode application Pin
krishnan.s28-Dec-09 21:23
krishnan.s28-Dec-09 21:23 
QuestionSetting the borders for the tables in word Pin
Chandrasekharan P28-Dec-09 19:45
Chandrasekharan P28-Dec-09 19:45 
AnswerRe: Setting the borders for the tables in word Pin
Madhu Nair28-Dec-09 22:20
Madhu Nair28-Dec-09 22:20 
Questionupload file through FTP Pin
raj157628-Dec-09 19:01
raj157628-Dec-09 19:01 

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.