Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Linking to MFC in a non-MFC dll Pin
Mark Salsbery3-Oct-07 11:31
Mark Salsbery3-Oct-07 11:31 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Leslie Sanford3-Oct-07 13:59
Leslie Sanford3-Oct-07 13:59 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Mark Salsbery4-Oct-07 5:40
Mark Salsbery4-Oct-07 5:40 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Leslie Sanford4-Oct-07 6:25
Leslie Sanford4-Oct-07 6:25 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Mark Salsbery4-Oct-07 6:43
Mark Salsbery4-Oct-07 6:43 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Leslie Sanford4-Oct-07 6:56
Leslie Sanford4-Oct-07 6:56 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Mark Salsbery4-Oct-07 7:11
Mark Salsbery4-Oct-07 7:11 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Leslie Sanford4-Oct-07 7:48
Leslie Sanford4-Oct-07 7:48 
Mark Salsbery wrote:
I'm skeptical...the window may draw initially, but how is it going to get window messages?


That's what I get for quoting the code from memory. Here's the actual code I'm testing. It's adapted from the post I mentioned on another forum:

bool MyAudioEditor::open(void *ptr)
{
    AFX_MANAGE_STATE(AfxGetStaticModuleState()); 
 
   // Remember the parent window 
   ASSERT(m_pPlugView == NULL); 
   m_pPlugView = new CPlugView();
 
   systemWindow = ptr;
 
   if(m_pPlugView->Create((UINT)CPlugView::IDD, CWnd::FromHandle((HWND)systemWindow))) 
   { 
       m_pPlugView->ShowWindow(SW_SHOWNORMAL);
       
       return true; 
   }
 
   return false;
}

GeneralRe: Linking to MFC in a non-MFC dll Pin
Mark Salsbery4-Oct-07 7:54
Mark Salsbery4-Oct-07 7:54 
GeneralRe: Linking to MFC in a non-MFC dll Pin
Mark Salsbery4-Oct-07 6:48
Mark Salsbery4-Oct-07 6:48 
QuestionJump from one Dialog to other in a Dialog MFC application Pin
TomWizard3-Oct-07 7:59
TomWizard3-Oct-07 7:59 
AnswerRe: Jump from one Dialog to other in a Dialog MFC application Pin
Maximilien3-Oct-07 9:13
Maximilien3-Oct-07 9:13 
Questiontokenizer help Pin
dellthinker3-Oct-07 7:14
dellthinker3-Oct-07 7:14 
AnswerRe: tokenizer help Pin
Nemanja Trifunovic3-Oct-07 7:44
Nemanja Trifunovic3-Oct-07 7:44 
GeneralRe: tokenizer help Pin
dellthinker3-Oct-07 9:37
dellthinker3-Oct-07 9:37 
AnswerRe: tokenizer help Pin
Stephen Hewitt3-Oct-07 14:23
Stephen Hewitt3-Oct-07 14:23 
AnswerRe: tokenizer help Pin
DQNOK4-Oct-07 4:30
professionalDQNOK4-Oct-07 4:30 
GeneralRe: tokenizer help Pin
dellthinker4-Oct-07 8:27
dellthinker4-Oct-07 8:27 
QuestionSidebar like Vista sidebar for all os Windows 2000, XP , 2003 Pin
Sudhir Mangla3-Oct-07 5:18
professionalSudhir Mangla3-Oct-07 5:18 
QuestionCorba - Trail Version/Freeware for VS 2005 C++ Pin
Andy2023-Oct-07 3:23
Andy2023-Oct-07 3:23 
QuestionWhere my object are stored Pin
manustone3-Oct-07 3:10
manustone3-Oct-07 3:10 
AnswerRe: Where my object are stored Pin
Iain Clarke, Warrior Programmer3-Oct-07 4:37
Iain Clarke, Warrior Programmer3-Oct-07 4:37 
GeneralRe: Where my object are stored Pin
manustone3-Oct-07 6:43
manustone3-Oct-07 6:43 
AnswerRe: Where my object are stored Pin
jhwurmbach3-Oct-07 22:51
jhwurmbach3-Oct-07 22:51 
QuestionDS_CONTROL vs WS_EX_CONTROLPARENT Pin
Nishad S3-Oct-07 2:57
Nishad S3-Oct-07 2:57 

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.