Problem with subclassing dialogs

Problem with subclassing dialogs

Post by Guenter Schwaning » Thu, 09 Jul 1992 17:31:12



Hi Windows freaks.

I want to subclass the file open dialog from Win 3.1 COMMDLG.DLL to paint
on the dialog, but I have no idea how to manage this.
Any help, especially in TPW-code, is greatly appreciated.

Thanks in advance, Guenter.

================================================================================

                                                                     (####)
  WINDOWS is from the company that brought us EDLIN.                (#######)
                                                                   (#########)
                                                                  (#########)
                                                                 (#########)
                                                                (#########)
   __&__                                                       (#########)
  /     \                                                     (#########)
 |       |                                                   (#########)
 |  (o)(o)                                                    (o)(o)(##)
 C   .---_)   Guenter Schwaninger                           ,_C     (##)


  /_____\                                                      |    |
 /_____/ \                                                     OOOOOO
/         \                                                   /      \

 
 
 

1. problems with a CWnd subclass in a dialog box

If anyone has nay info on this I'd be much obliged:

Using MSVC 1.5 and MFC.

We wrote a little grid class based on a CWnd class.  Things like
Ctrl-C and SHIFT-Insert work fine as long as the grid is instantiated
in a CFormview class.

As soon as the grid is put in a CDialog the Ctrl-C etc. combinations
no longer work.  (when a cell in the grid has been activated, implemented,
as a CEdit subclass, the Ctrl-C stuff works for the cell).

It looks like the CFormView gets messaged before the grid, but that the
grid gets messages before the CDialog.

Thanks in advance for any help.

2. Q: Restrictions in sizes when including binary data into XML files.

3. Problems Subclassing FileOpen Dialog.

4. View JPG images in normal view

5. subclassing dialog controls, Winsight problem

6. System Hardware Requirements

7. Problem with the listviewcontrol !!!! ==> subclass problem ???

8. HELP! Lotus 123 3.1 WON'T Accept Numbers

9. subclassing and wm_notify msgs from subclassed window

10. if I subclass, must I un-subclass before destroying?

11. How to subclass a dialog-based ActiveX control

12. Handling notification messages from contained subclassed activex control inside dialog class

13. Subclassing FONT Commond Dialog Box