Click here to Skip to main content
15,913,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help in C++ Pin
AlexO19-Jun-03 4:38
AlexO19-Jun-03 4:38 
GeneralRe: help in C++ Pin
David Crow19-Jun-03 10:19
David Crow19-Jun-03 10:19 
GeneralThread Pin
Gandilf19-Jun-03 4:09
Gandilf19-Jun-03 4:09 
GeneralRe: Thread Pin
AlexO19-Jun-03 4:18
AlexO19-Jun-03 4:18 
GeneralRe: Thread Pin
AlexO19-Jun-03 4:22
AlexO19-Jun-03 4:22 
GeneralRe: Thread Pin
Gandilf19-Jun-03 4:48
Gandilf19-Jun-03 4:48 
GeneralRe: Thread Pin
AlexO19-Jun-03 5:35
AlexO19-Jun-03 5:35 
GeneralRe: Thread Pin
Ryan Binns19-Jun-03 4:22
Ryan Binns19-Jun-03 4:22 
You can't use MFC windows in multiple threads. Since CFrameWnd::GetActiveDocument() is MFC specific (not a Win32 function) you're pretty much screwed. You'll need to either pass the document as a parameter to your thread function, or find another way of doing it. MFC is just no good for applications where multiple threads manipulate the GUI.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: Thread Pin
Jonathan Craig19-Jun-03 5:09
Jonathan Craig19-Jun-03 5:09 
GeneralRe: Thread Pin
Jonathan Craig20-Jun-03 3:37
Jonathan Craig20-Jun-03 3:37 
GeneralRe: Thread Pin
Brian Delahunty19-Jun-03 7:57
Brian Delahunty19-Jun-03 7:57 
GeneralRe: Thread Pin
David Crow19-Jun-03 10:22
David Crow19-Jun-03 10:22 
GeneralCSpinButtonCtrl Pin
#realJSOP19-Jun-03 3:54
professional#realJSOP19-Jun-03 3:54 
GeneralRe: CSpinButtonCtrl Pin
David Chamberlain19-Jun-03 4:05
David Chamberlain19-Jun-03 4:05 
GeneralRe: CSpinButtonCtrl Pin
#realJSOP19-Jun-03 4:09
professional#realJSOP19-Jun-03 4:09 
GeneralRe: CSpinButtonCtrl Pin
David Chamberlain19-Jun-03 4:19
David Chamberlain19-Jun-03 4:19 
GeneralRe: CSpinButtonCtrl Pin
#realJSOP19-Jun-03 4:35
professional#realJSOP19-Jun-03 4:35 
GeneralRe: CSpinButtonCtrl Pin
David Chamberlain19-Jun-03 4:56
David Chamberlain19-Jun-03 4:56 
GeneralPopup Menu Pin
modular19-Jun-03 3:20
modular19-Jun-03 3:20 
GeneralRe: Popup Menu Pin
AlexO19-Jun-03 3:34
AlexO19-Jun-03 3:34 
Generaltoolbar on dialog box Pin
modular19-Jun-03 3:16
modular19-Jun-03 3:16 
GeneralRe: toolbar on dialog box Pin
Maximilien19-Jun-03 4:18
Maximilien19-Jun-03 4:18 
GeneralMultiuser application Pin
modular19-Jun-03 2:34
modular19-Jun-03 2:34 
GeneralRe: Multiuser application Pin
valikac19-Jun-03 6:15
valikac19-Jun-03 6:15 
GeneralRe: Multiuser application Pin
modular19-Jun-03 18:52
modular19-Jun-03 18:52 

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.