INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Using CDialog and MFC ClassWizard to make plug-ins  (Read 1707 times)

RandyP

  • Regular Member
  • World Citizen
  • ***
  • Posts: 218
  • Notre Dame
Using CDialog and MFC ClassWizard to make plug-ins
« on: January 08, 2003, 03:20:23 pm »

Withdrawn
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Using CDialog and MFC ClassWizard to make plug
« Reply #1 on: January 18, 2003, 10:36:14 pm »

I use the class wizard just fine when developing AlbumView.

I just used the ATL COM AppWizard and told it I want to support MFC.

Added the Init & Terminate MJ functions and from there I was flying.

There were only 2 real issues:

1)  In my COM control construction I had to add:

       m_bWindowOnly = TRUE;

    For MC9 support.


2)  Handle the COM control's OnSize method to make sure I size my CWnd's accordingly.
Logged

RandyP

  • Regular Member
  • World Citizen
  • ***
  • Posts: 218
  • Notre Dame
Re: Using CDialog and MFC ClassWizard to make plug
« Reply #2 on: January 19, 2003, 09:21:51 am »

Withdrawn, please remove thread
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Using CDialog and MFC ClassWizard to make plug
« Reply #3 on: January 19, 2003, 11:51:00 am »

I don't use it ... I just use it as a container/parent.

A waste of a window I know but since AV takes up the entire client area it didn't make any difference and it made coding easier.

I don't know how to delete a thread but tbh I would just leave it ... it will help others who are just starting to dabble in C/C++ & COM.
Logged

RandyP

  • Regular Member
  • World Citizen
  • ***
  • Posts: 218
  • Notre Dame
Re: Using CDialog and MFC ClassWizard to make plug
« Reply #4 on: January 19, 2003, 12:58:34 pm »

Withdrawn, please remove thread
Logged
Pages: [1]   Go Up