Spread 6 control repaint issue

Posted by: vikasbhutani on 26 April 2020, 1:51 am EST

    • Post Options:
    • Link

    Posted 26 April 2020, 1:51 am EST

    Hi Experts,

    I am using Spread 6 control(Active x control) in my MFC (VC++) MDI application.

    In the CMyFormView:: OnInitialUpdate()

    {

    m_Spread.SetMaxCols(3);
    m_Spread.SetText(0,0,CComVariant(_T("Sr No"));
    m_Spread.SetText(1,0,CComVariant(_T("Name"));
    m_Spread.SetText(2,0,CComVariant(_T("Department"));
    m_Spread.SetText(3,0,CComVariant(_T("Salary"));
    

    }

    When the specified form display the contents are not align properly, but if I minimize the Form and restore it, the contents display properly.

    So I guess , it is related to some repaint o resize issue?

    I had tried the following:-

    Inavalidate()

    Refresh()

    ets , but the issue is not resolved.

    Please help me to resolve the issue asap.

  • Posted 27 April 2020, 12:45 am EST

    Hi

    IS there anybody who can help me in my issue?

    Please , its urgent?

    Thanks

  • Posted 28 April 2020, 8:54 pm EST

    Hi Vikas,

    I would like you to know that the support for Spread COM below version 8.0 has been officially withdrawn. We do not support these controls anymore. I would suggest you to upgrade to Spread 8.0 instead.

    Note: Please post Spread COM related issues over the dedicated forum below:

    https://www.grapecity.com/forums/spread-com

    Thanks,

    Pragati

  • Posted 4 May 2020, 5:30 pm EST

    Hi Pragati,

    At least tell the approach for spread control 8.0 version ?

  • Posted 6 May 2020, 9:36 pm EST

    Hi Vikas,

    It has been replied over the thread here:

    https://www.grapecity.com/forums/spread-com/spread-control-repaint-iss

    ~Pragati

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels