MFC
Class CWinThread
CObject
|
+--CCmdTarget
|
+--CWinThread
in AFXWIN.H
- Direct Known Subclasses:
- CWinApp
- class CWinThread
- extends CCmdTarget
| Fields inherited from class CCmdTarget |
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer |
| Methods inherited from class CCmdTarget |
GetIDispatch, FromIDispatch, IsResultExpected, EnableAutomation, EnableConnections, BeginWaitCursor, EndWaitCursor, RestoreWaitCursor, EnumOleVerbs, DoOleVerb, OnCmdMsg, OnFinalRelease, IsInvokeAllowed, EnableTypeLib, GetTypeInfoOfGuid, GetDispatchIID, GetTypeInfoCount, GetTypeLibCache, GetTypeLib, GetNotSupported, SetNotSupported, GetRoutingView, GetRoutingFrame, GetRoutingView_, GetRoutingFrame_, GetMessageMap, GetCommandMap, GetDispatchMap, GetConnectionMap, GetInterfaceMap, GetEventSinkMap, EnableAggregation, ExternalDisconnect, GetControllingUnknown, InternalQueryInterface, InternalAddRef, InternalRelease, ExternalQueryInterface, ExternalAddRef, ExternalRelease, GetInterface, QueryAggregates, OnCreateAggregates, GetInterfaceHook, GetStandardProp, SetStandardProp, GetEntryCount, GetDispEntry, MemberIDFromName, GetStackSize, PushStackArgs, CallMemberFunc, OnEvent, GetEventSinkEntry, GetExtraConnectionPoints, GetConnectionHook |
m_bAutoDelete
public BOOL m_bAutoDelete;
m_hThread
public HANDLE m_hThread;
m_lpfnOleTermOrFreeLib
public void( AFXAPI* m_lpfnOleTermOrFreeLib )( BOOL, BOOL );
m_msgCur
public MSG m_msgCur;
m_nMsgLast
protected UINT m_nMsgLast;
m_nThreadID
public DWORD m_nThreadID;
m_pActiveWnd
public CWnd* m_pActiveWnd;
m_pfnThreadProc
public AFX_THREADPROC m_pfnThreadProc;
m_pMainWnd
public CWnd* m_pMainWnd;
m_pMessageFilter
public COleMessageFilter* m_pMessageFilter;
m_ptCursorLast
protected CPoint m_ptCursorLast;
m_pThreadParams
public LPVOID m_pThreadParams;
CWinThread
public CWinThread( AFX_THREADPROC pfnThreadProc, LPVOID pParam );
CWinThread
public CWinThread();
~CWinThread
public virtual ~CWinThread();
CommonConstruct
public void CommonConstruct();
CreateThread
public BOOL CreateThread( DWORD dwCreateFlags = 0, UINT nStackSize = 0, LPSECURITY_ATTRIBUTES lpSecurityAttrs = NULL );
Delete
public virtual void Delete();
DispatchThreadMessage
protected void DispatchThreadMessage( MSG* msg );
DispatchThreadMessageEx
protected BOOL DispatchThreadMessageEx( MSG* msg );
ExitInstance
public virtual int ExitInstance();
GetMainWnd
public virtual CWnd* GetMainWnd();
GetThreadPriority
public int GetThreadPriority();
HANDLE
public operator HANDLE() const;
InitInstance
public virtual BOOL InitInstance();
IsIdleMessage
public virtual BOOL IsIdleMessage( MSG* pMsg );
OnIdle
public virtual BOOL OnIdle( LONG lCount );
PostThreadMessage
public BOOL PostThreadMessage( UINT message, WPARAM wParam, LPARAM lParam );
PreTranslateMessage
public virtual BOOL PreTranslateMessage( MSG* pMsg );
ProcessMessageFilter
public virtual BOOL ProcessMessageFilter( int code, LPMSG lpMsg );
ProcessWndProcException
public virtual LRESULT ProcessWndProcException( CException* e, const MSG* pMsg );
PumpMessage
public virtual BOOL PumpMessage();
ResumeThread
public DWORD ResumeThread();
Run
public virtual int Run();
SetThreadPriority
public BOOL SetThreadPriority( int nPriority );
SuspendThread
public DWORD SuspendThread();