Click here to Skip to main content
15,917,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Idle time in VC++ Pin
David Crow20-May-04 4:16
David Crow20-May-04 4:16 
GeneralRe: Idle time in VC++ Pin
Anonymous22-May-04 3:46
Anonymous22-May-04 3:46 
GeneralRe: Idle time in VC++ Pin
David Crow22-May-04 17:01
David Crow22-May-04 17:01 
GeneralRe: Idle time in VC++ Pin
Kamyar Souri20-May-04 9:29
Kamyar Souri20-May-04 9:29 
GeneralA question about CRuntimeClass and Dynamic Creation Pin
SmilingHeart20-May-04 2:48
SmilingHeart20-May-04 2:48 
GeneralRe: A question about CRuntimeClass and Dynamic Creation Pin
Andrew Quinn AUS20-May-04 3:39
Andrew Quinn AUS20-May-04 3:39 
GeneralRe: A question about CRuntimeClass and Dynamic Creation Pin
SmilingHeart21-May-04 18:54
SmilingHeart21-May-04 18:54 
GeneralRe: A question about CRuntimeClass and Dynamic Creation Pin
igor196020-May-04 11:06
igor196020-May-04 11:06 
Your ModuleState has a public member m_classList that you can enumerate through to find what you want...

// search app specific classes
AFX_MODULE_STATE* pModuleState = AfxGetModuleState();
AfxLockGlobals(CRIT_RUNTIMECLASSLIST);
for (pClass = pModuleState->m_classList; pClass != NULL;
pClass = pClass->m_pNextClass)
{
if (lstrcmpA(szClassName, pClass->m_lpszClassName) == 0)
{
AfxUnlockGlobals(CRIT_RUNTIMECLASSLIST);
return pClass;
}
}
AfxUnlockGlobals(CRIT_RUNTIMECLASSLIST);

Regards

"...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..."
Me
GeneralRe: A question about CRuntimeClass and Dynamic Creation Pin
SmilingHeart21-May-04 18:52
SmilingHeart21-May-04 18:52 
GeneralRe: A question about CRuntimeClass and Dynamic Creation Pin
igor196022-May-04 11:55
igor196022-May-04 11:55 
GeneralHelp needed with CStdioFile Pin
Chooikw20-May-04 2:41
Chooikw20-May-04 2:41 
GeneralRe: Help needed with CStdioFile Pin
David Crow20-May-04 2:47
David Crow20-May-04 2:47 
GeneralRe: Help needed with CStdioFile Pin
Chooikw20-May-04 3:10
Chooikw20-May-04 3:10 
GeneralRe: Help needed with CStdioFile Pin
*Dreamz20-May-04 3:58
*Dreamz20-May-04 3:58 
GeneralRe: Help needed with CStdioFile Pin
David Crow20-May-04 4:07
David Crow20-May-04 4:07 
GeneralRe: Help needed with CStdioFile Pin
Anonymous20-May-04 4:28
Anonymous20-May-04 4:28 
GeneralDistributing my VC++ app Pin
nay20-May-04 2:15
nay20-May-04 2:15 
GeneralRe: Distributing my VC++ app Pin
David Crow20-May-04 2:49
David Crow20-May-04 2:49 
GeneralRe: Distributing my VC++ app Pin
nay20-May-04 2:51
nay20-May-04 2:51 
GeneralRe: Distributing my VC++ app Pin
David Crow20-May-04 4:11
David Crow20-May-04 4:11 
GeneralRe: Distributing my VC++ app Pin
Michael Dunn20-May-04 5:15
sitebuilderMichael Dunn20-May-04 5:15 
GeneralXOR Operation Pin
vijayaramaraju20-May-04 1:50
vijayaramaraju20-May-04 1:50 
GeneralRe: XOR Operation Pin
Kamyar Souri20-May-04 9:38
Kamyar Souri20-May-04 9:38 
Questionhow do i change toolbar button bitmaps Pin
Member 63398320-May-04 0:54
Member 63398320-May-04 0:54 
QuestionVariable argument functions- how to? Pin
Ernesto D.19-May-04 23:44
Ernesto D.19-May-04 23:44 

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.