×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Registered User
    Join Date
    Oct 2010
    Posts
    37

    Re: SetTextL doesn't work!

    Quote Originally Posted by vineet.jain View Post
    May be User::WaitForRequest(aStatus); is blocking the thread for any further operation which also includes the Drawing of the label.
    and do you recommand any solution on this matter? :(

  2. #17
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,086

    Re: SetTextL doesn't work!

    So is there any event on which you need to change the label ? if yes the you can first wait for the completion/detection of the event & then perform the Drawing operation. But i think putting the User::WaitForRequest(aStatus); would surely block the whole thread.Either you can separate this listening part in another thread.

  3. #18
    Registered User
    Join Date
    Oct 2010
    Posts
    37

    Re: SetTextL doesn't work!

    Quote Originally Posted by vineet.jain View Post
    So is there any event on which you need to change the label ? if yes the you can first wait for the completion/detection of the event & then perform the Drawing operation. But i think putting the User::WaitForRequest(aStatus); would surely block the whole thread.Either you can separate this listening part in another thread.
    Thanks for your reply,
    would you please gimme a simple code which implement your comment?

  4. #19
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,086

    Re: SetTextL doesn't work!

    Well the best approach in my opinion is to implement an active object for listening to sockets.SInce they are non blocking you can easily then continue with other things in your application while the active object waits for the request completion. You can refer to this thread for more info:

    http://wiki.forum.nokia.com/index.ph...he_sockets_API

    especially the section Using active objects in sockets code

  5. #20
    Registered User
    Join Date
    Oct 2010
    Posts
    37

    Re: SetTextL doesn't work!

    Quote Originally Posted by vineet.jain View Post
    Well the best approach in my opinion is to implement an active object for listening to sockets.SInce they are non blocking you can easily then continue with other things in your application while the active object waits for the request completion. You can refer to this thread for more info:

    http://wiki.forum.nokia.com/index.ph...he_sockets_API

    especially the section Using active objects in sockets code
    thanks mate

Similar Threads

  1. SetTextL problem
    By joteddy123 in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-03-24, 12:27
  2. How to use SetTextL() in CAknSettingItemList
    By saheb04 in forum Symbian
    Replies: 2
    Last Post: 2007-09-20, 06:24
  3. EEikEdwinUserSuppliedText and SetTextL
    By jbylund in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-10-05, 03:23
  4. SetTextL() on target
    By yaront in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-01-24, 19:46
  5. SetTextL()
    By jesusdol in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-01-27, 18:44

Posting Permissions

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