×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    3

    DrawNow throwing WSERV 12

    I'm not able to call DrawNow() its throwing WSERV 12. Tried it with DrawDeferred() and its calling the parent.Draw().

    A* A::NewL(RWindow* parent) {
    A* self = new(ELeave) A();
    CleanupStack::PushL(self);
    self->ConstructL(parent);
    CleanupStack::Pop(self);
    return self;
    }

    A::A() {}

    void A::ConstructL(RWindow* parent) {
    if (parent != NULL) {
    SetContainerWindowL(*parent);
    } else {
    CreateWindowL();
    }
    CEikAppUi* app_ui = static_cast<CEikAppUi*>(CCoeEnv::Static()->AppUi());
    const TRect kRect(app_ui->ClientRect());
    SetRect(kRect);
    }
    void A::ShowTip(TBool show_tip) {
    tip_visible_ = show_tip;
    if (tip_visible_) {
    DrawNow(); // Throwing WSERV 12
    DrawDeferred(); // Calling parent.Draw()
    }
    }

  2. #2
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: DrawNow throwing WSERV 12

    Welcome to Forum Nokia DiBo.

    This Section of forum is dedicated to Qt for S60. You may ask Symbian C++ related issue here.

Similar Threads

  1. Replies: 1
    Last Post: 2009-05-04, 15:35
  2. Nokia 12 CDS Connection
    By kleva2 in forum Nokia M2M
    Replies: 0
    Last Post: 2005-03-28, 13:46
  3. WSERV crash when using CActive
    By thewisemonkey in forum Symbian
    Replies: 2
    Last Post: 2004-07-21, 08:00
  4. Nokia 12
    By yuters in forum Nokia M2M
    Replies: 1
    Last Post: 2003-07-29, 07:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •