Click here to Skip to main content
15,880,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Restirct resizing at run time..... Pin
Nibu babu thomas20-Sep-06 20:14
Nibu babu thomas20-Sep-06 20:14 
GeneralRe: Restirct resizing at run time..... Pin
kiranin20-Sep-06 20:54
kiranin20-Sep-06 20:54 
Questionproblem with txt file [modified] Pin
With_problem20-Sep-06 19:02
With_problem20-Sep-06 19:02 
AnswerRe: problem with txt file Pin
David Crow21-Sep-06 3:52
David Crow21-Sep-06 3:52 
QuestionHow can i know ( in MFC ) that some dialog window is open now ? Pin
Yanshof20-Sep-06 18:54
Yanshof20-Sep-06 18:54 
AnswerRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
Naveen20-Sep-06 18:56
Naveen20-Sep-06 18:56 
AnswerRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
Rinu_Raj20-Sep-06 18:59
Rinu_Raj20-Sep-06 18:59 
AnswerRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
Nibu babu thomas20-Sep-06 19:49
Nibu babu thomas20-Sep-06 19:49 
Yanshof wrote:
Hi All

I write some application, and in some place in the code i need to know if some specific window dialog is open.

I will explain ... i have some dialog that have time out to close ( after X second this dialog is close ) my question is ... how can i know by know the dialog ID or dialog class variable if the current window is open/show of hide ?

Thanks for any help.


Loop through child windows of the dialog, use GetWindow and GetNextWindow for this purpose and test to see if this is a dialog window or not.

Or use EnumChildWindows.


Nibu thomas
A Developer

Programming tips[^]  My site[^]

QuestionRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
David Crow21-Sep-06 3:55
David Crow21-Sep-06 3:55 
Questioninp( ) and outp( ) functions Pin
vijay_aroli20-Sep-06 18:31
vijay_aroli20-Sep-06 18:31 
AnswerRe: inp( ) and outp( ) functions Pin
Mohammad Rastkar20-Sep-06 18:39
Mohammad Rastkar20-Sep-06 18:39 
GeneralRe: inp( ) and outp( ) functions Pin
vijay_aroli20-Sep-06 18:47
vijay_aroli20-Sep-06 18:47 
AnswerRe: inp( ) and outp( ) functions Pin
Mohammad Rastkar20-Sep-06 19:09
Mohammad Rastkar20-Sep-06 19:09 
GeneralRe: inp( ) and outp( ) functions Pin
David Crow21-Sep-06 4:00
David Crow21-Sep-06 4:00 
AnswerRe: inp( ) and outp( ) functions Pin
susiriss20-Sep-06 19:04
susiriss20-Sep-06 19:04 
QuestionRe: inp( ) and outp( ) functions Pin
vijay_aroli20-Sep-06 19:11
vijay_aroli20-Sep-06 19:11 
AnswerRe: inp( ) and outp( ) functions Pin
susiriss20-Sep-06 22:04
susiriss20-Sep-06 22:04 
QuestionRe: inp( ) and outp( ) functions [modified] Pin
vijay_aroli20-Sep-06 23:50
vijay_aroli20-Sep-06 23:50 
QuestionRe: inp( ) and outp( ) functions Pin
David Crow21-Sep-06 4:05
David Crow21-Sep-06 4:05 
QuestionConsole comminication problem Pin
susiriss20-Sep-06 18:24
susiriss20-Sep-06 18:24 
Questionabout accessing a locked file Pin
hqfhy20-Sep-06 17:29
hqfhy20-Sep-06 17:29 
AnswerRe: about accessing a locked file Pin
Christian Graus20-Sep-06 17:48
protectorChristian Graus20-Sep-06 17:48 
GeneralRe: about accessing a locked file Pin
hqfhy20-Sep-06 17:56
hqfhy20-Sep-06 17:56 
GeneralRe: about accessing a locked file Pin
Christian Graus20-Sep-06 18:02
protectorChristian Graus20-Sep-06 18:02 
GeneralRe: about accessing a locked file Pin
hqfhy20-Sep-06 18:10
hqfhy20-Sep-06 18:10 

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.