How to let Full control using dialog template? 
Author Message
 How to let Full control using dialog template?

Composite control will use a dialog template, but full control can not.
Do you have some smart method to do it?

I have got 2 methods:
1.
I changed some code produced by Full Control Wizard, such as
Change CMyCtl public:...
                     ...
                     CComControl<CMyCtl> to

public CComControlBase,public CDialogImpl<T>

Because the ComControl<T> public CConControlBase, CWindowImpl<T>
2.It is just thinking.
under WM_CREATE, create a child window from the dialog template.



Tue, 21 Jan 2003 03:00:00 GMT  
 How to let Full control using dialog template?

Why don't you use a composite control? You should, you know...

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD

MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================


Quote:
> Composite control will use a dialog template, but full control can not.
> Do you have some smart method to do it?

> I have got 2 methods:
> 1.
> I changed some code produced by Full Control Wizard, such as
> Change CMyCtl public:...
>                      ...
>                      CComControl<CMyCtl> to

> public CComControlBase,public CDialogImpl<T>

> Because the ComControl<T> public CConControlBase, CWindowImpl<T>
> 2.It is just thinking.
> under WM_CREATE, create a child window from the dialog template.



Tue, 21 Jan 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to let client know a full control on the server is updated

2. ActiveX control using dialog template

3. Full screen dialog using MFC

4. Sizing the full control ActiveX by using m_sizeExtent

5. Inserting an ActiveX Control that uses a Dialog on a dialog

6. VC6 MFC DLL using dialog template gets ERROR_RESOURCE_NAME_NOT_FOUND

7. Using ToolbarWindow32 in Dialog Template

8. HELP: Using Document Template stuff in Dialog based App

9. Using a dialog template to make a view

10. Problem using custom dialog template in CFileDialog

11. Using CCheckListBox with a dialog template.

12. HELP: Using Document Template stuff in Dialog based App

 

 
Powered by phpBB® Forum Software