Click here to Skip to main content
15,906,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: function pointer Pin
pba_6-Mar-02 8:39
pba_6-Mar-02 8:39 
GeneralRe: function pointer Pin
Nish Nishant6-Mar-02 9:03
sitebuilderNish Nishant6-Mar-02 9:03 
GeneralRe: function pointer Pin
Steve Severance6-Mar-02 15:52
Steve Severance6-Mar-02 15:52 
GeneralRe: function pointer Pin
Nish Nishant6-Mar-02 16:39
sitebuilderNish Nishant6-Mar-02 16:39 
GeneralRe: function pointer Pin
Steve Severance7-Mar-02 10:28
Steve Severance7-Mar-02 10:28 
GeneralMulti-threading Pin
amarg6-Mar-02 7:12
amarg6-Mar-02 7:12 
GeneralRe: Multi-threading Pin
Nish Nishant6-Mar-02 7:54
sitebuilderNish Nishant6-Mar-02 7:54 
GeneralRe: Multi-threading Pin
Joaquín M López Muñoz6-Mar-02 9:23
Joaquín M López Muñoz6-Mar-02 9:23 
In the lack of more info, I'd venture to say the problem is that you are trying to call some member function (or use some member variable) of the CWnd * returned by GetParent (possibly cast to CAWnd * or whatever your class is named). Is this right? If so, then the problem is that that CWnd * is not actually the original object; this is due to inherent limitations of MFC with respect to multithreading. To solve the problem, pass the thread a pointer to A instead of a pointer to B (and have A store somehow a pointer to B so that you have access to both windows).

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: Multi-threading Pin
Morozov Alexey6-Mar-02 13:13
Morozov Alexey6-Mar-02 13:13 
GeneralA solution Pin
amarg7-Mar-02 7:04
amarg7-Mar-02 7:04 
GeneralRe: Multi-threading Pin
Stephen C. Steel8-Mar-02 8:39
Stephen C. Steel8-Mar-02 8:39 
GeneralChange Controls Size?! Pin
6-Mar-02 6:52
suss6-Mar-02 6:52 
GeneralRe: Change Controls Size?! Pin
Andres Manggini6-Mar-02 9:38
Andres Manggini6-Mar-02 9:38 
GeneralRe: Change Controls Size?! Pin
Carlos Antollini6-Mar-02 9:55
Carlos Antollini6-Mar-02 9:55 
GeneralRe: Change Controls Size?! Pin
moliate6-Mar-02 10:29
moliate6-Mar-02 10:29 
GeneralRe: Change Controls Size?! Pin
7-Mar-02 2:34
suss7-Mar-02 2:34 
GeneralExternal Control of VC++ Interface Pin
Blade[DMS]6-Mar-02 6:10
Blade[DMS]6-Mar-02 6:10 
Generalagain anchor property Pin
Mazdak6-Mar-02 6:05
Mazdak6-Mar-02 6:05 
QuestionHow do I pass arguments to a view? Pin
6-Mar-02 5:03
suss6-Mar-02 5:03 
AnswerRe: How do I pass arguments to a view? Pin
Tomasz Sowinski6-Mar-02 5:53
Tomasz Sowinski6-Mar-02 5:53 
GeneralRe: How do I pass arguments to a view? Pin
6-Mar-02 6:26
suss6-Mar-02 6:26 
AnswerRe: How do I pass arguments to a view? Pin
Joaquín M López Muñoz6-Mar-02 5:57
Joaquín M López Muñoz6-Mar-02 5:57 
GeneralRe: How do I pass arguments to a view? Pin
6-Mar-02 7:13
suss6-Mar-02 7:13 
GeneralRe: How do I pass arguments to a view? Pin
Joaquín M López Muñoz6-Mar-02 9:00
Joaquín M López Muñoz6-Mar-02 9:00 
AnswerRe: How do I pass arguments to a view? Pin
Jonathan Craig6-Mar-02 8:49
Jonathan Craig6-Mar-02 8:49 

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.