Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Grid as a child frame does not get events Collapse All
Subject Author Date
Offer Har Sep 23, 2009 - 3:56 PM

Dear Support,


I have created a grid class derived from CExtNSB<CExtPPVW<CExtGridWnd>>.


The main frame create the grid as follows (m_wndView is an instance of my grid class):



   if(    ! m_wndView.Create(
        this,
        CRect( 0, 0, 0, 0 ),
        AFX_IDW_PANE_FIRST
        )
        )
    {
        TRACE0("Failed to create view window\n");
        return -1;
    }

The application roots are in the report view sample.


All works well, but some evens do not reach the grid class, such as mouse events.


If I use the same grid class inside a dialog, the events are reached.


Please help me finding what can cause this problem...


Thanks,


Ron.

Offer Har Sep 24, 2009 - 12:15 AM

Problem solved... my BEGIN_MESSAGE_MAP was directly to the wring class.