Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Control for capturing key combinations Pin
Jörgen Sigvardsson2-Feb-07 10:42
Jörgen Sigvardsson2-Feb-07 10:42 
QuestionDataGrid Pin
123456uio2-Feb-07 3:13
123456uio2-Feb-07 3:13 
AnswerRe: DataGrid Pin
led mike2-Feb-07 5:01
led mike2-Feb-07 5:01 
QuestionChange IDR_MAINFRAME start coordinate Pin
sortegrip2-Feb-07 3:06
sortegrip2-Feb-07 3:06 
QuestionRe: Change IDR_MAINFRAME start coordinate Pin
David Crow2-Feb-07 3:46
David Crow2-Feb-07 3:46 
AnswerRe: Change IDR_MAINFRAME start coordinate Pin
sortegrip2-Feb-07 4:56
sortegrip2-Feb-07 4:56 
GeneralRe: Change IDR_MAINFRAME start coordinate Pin
David Crow2-Feb-07 5:17
David Crow2-Feb-07 5:17 
QuestionDestroyed Window Pin
baerten2-Feb-07 2:21
baerten2-Feb-07 2:21 
I have a TabControl ( not the MFC one ) on my View.
In this Tab i have a huge number of Views.
If the User clicks in the Menu on "Customers" it opens the customers in this current Tab, if he
clicks on articles, so it opens the articles AND DOESN'T erase the Customers-View, because he can re-open the used-View with the old-state ...

So i need to close/delete all these views if the Tab closes...
In the "destructor" of the Tab i close all opened Views from this Tab

But if i close the whole application, it doesn't close the Tab ( which closes the Views )
It closes the Views, then the Tabs, then the TabControl

If he steps into the Destructor of the Tab, the Pointers of the Views are still there,
but their hWnd aren't valid anymore...

Now the question : How can i test, if a pointer on a View has a valid hWnd or if the object behind
the pointer is still deleted ?

It's certainly possible or not?

Thanks Rose | [Rose]


AnswerRe: Destroyed Window Pin
Mark Salsbery2-Feb-07 5:41
Mark Salsbery2-Feb-07 5:41 
GeneralRe: Destroyed Window Pin
baerten4-Feb-07 21:40
baerten4-Feb-07 21:40 
GeneralRe: Destroyed Window Pin
Mark Salsbery5-Feb-07 5:19
Mark Salsbery5-Feb-07 5:19 
GeneralRe: Destroyed Window Pin
Mark Salsbery5-Feb-07 5:25
Mark Salsbery5-Feb-07 5:25 
QuestionPumpMessage Question Pin
Andy2022-Feb-07 1:26
Andy2022-Feb-07 1:26 
QuestionRe: PumpMessage Question Pin
David Crow2-Feb-07 2:41
David Crow2-Feb-07 2:41 
AnswerRe: PumpMessage Question Pin
Andy2022-Feb-07 2:46
Andy2022-Feb-07 2:46 
GeneralRe: PumpMessage Question Pin
David Crow2-Feb-07 2:56
David Crow2-Feb-07 2:56 
AnswerRe: PumpMessage Question Pin
Waldermort2-Feb-07 2:48
Waldermort2-Feb-07 2:48 
GeneralRe: PumpMessage Question Pin
Andy2032-Feb-07 9:25
Andy2032-Feb-07 9:25 
QuestionBasic MFC questions.. Pin
Sameer_Thakur2-Feb-07 1:12
Sameer_Thakur2-Feb-07 1:12 
AnswerRe: Basic MFC questions.. Pin
led mike2-Feb-07 5:05
led mike2-Feb-07 5:05 
AnswerRe: Basic MFC questions.. Pin
prasad_som2-Feb-07 7:15
prasad_som2-Feb-07 7:15 
QuestionRe: Basic MFC questions.. Pin
Hamid_RT3-Feb-07 5:32
Hamid_RT3-Feb-07 5:32 
Questiondeleting the multiple rows in Grid Pin
reddy harish2-Feb-07 0:20
reddy harish2-Feb-07 0:20 
AnswerRe: deleting the multiple rows in Grid Pin
led mike2-Feb-07 5:05
led mike2-Feb-07 5:05 
GeneralRe: deleting the multiple rows in Grid Pin
reddy harish4-Feb-07 19:03
reddy harish4-Feb-07 19:03 

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.