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 » Problem With ScrollBar Collapse All
Subject Author Date
Burak Petekkaya Apr 17, 2007 - 5:53 AM

Hi,

My Mainframe Class derived from CMDIFrameWnd (implemented like below)

class CMainFrame
    : public CExtNCW < CMDIFrameWnd >
{
....
}

After I derived my mainframe class;

when run The application and opens a formview whose width or height is bigger than mainframe , mainframe’s scrollbar isn’t appear.So,I can’t see formview all.

What can I do?




Burak Petekkaya Apr 17, 2007 - 10:07 AM

Dear Sir/Madam,



Thank you for your interest, but the problem is not related with the inside windows or with their scrollbars. Let me explain the problem clearly. When the size of the inside window is greater than the main frame, or when I slide the inside window out of it, I want to see a scroll bar in the main frame that will help to see the child frame (inside window) completely. Although I could see the scroll bar before, after the derivation of the main frame class as stated below I cannot.



class CMainFrame

: public CExtNCW < CMDIFrameWnd >

{

....

}



Please inform me about the solution.



Best regards.

Technical Support Apr 18, 2007 - 11:46 AM

As we already said the main frame window cannot affect the scroll bars of any other child window inside it. This is not supported. If it is not what you mean, would you send us some screenshots that demonstrate what you need?

Technical Support Apr 17, 2007 - 8:31 AM

The main frame window cannot affect the scroll bars of any other window inside it. We guess you may have forgotten to specify the WS_HSCROLL|WS_VSCROLL properties (Horizontal Scrollbar, Vertical Scrollbar) of the dialog template resource used in your form view.