Results 1 to 2 of 2

Thread: Window won't update

  1. #1
    Serf
    Join Date
    Feb 2010
    Posts
    1

    Default Window won't update

    I recently installed clanlib and when I run the examples they run perfectly well but the window won't refresh unless I either move it some how, any solution?

    My brother has the same pc basically and it runs perfectly well, he has windows 7 though while I have xp 32 bit.

    The window is entirely frozen unless I move it/minize-restore or anything else.

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    This has been reported before. We do not know why.

    I run Windows XP 32-bit, but do not have any problems.

    For the Basic2D example, looking at:
    CL_KeepAlive::process(int timeout)

    That calls: CL_DisplayMessageQueue_Win32::wait()

    That calls: BOOL result = MsgWaitForMultipleObjectsEx(0, 0, timeout_win32, QS_ALLEVENTS|QS_SENDMESSAGE|QS_RAWINPUT, wait_all ? MWMO_WAITALL : 0);
    (Note, timeout_win32 = 0, wait_all = false)

    Maybe the result is always returning "WAIT_OBJECT_0" until a mouse is moved, why ... I don't know!

    Try removing usb devices (for example, joystick's etc)

Similar Threads

  1. MR. MCKINNEY UPDATE:
    By mckinney in forum Funeral Quest
    Replies: 3
    Last Post: 02-10-2010, 12:33 AM
  2. Sprite Documentation update
    By huntercool in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 09-03-2009, 02:12 PM
  3. How to : Delete/Close a Window and Center a Window ?
    By Fr3DBr in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 08-24-2009, 02:55 AM
  4. Minor update to logger
    By CrazyFrazee in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 01-25-2009, 09:31 PM
  5. Update?
    By licentious in forum RTsoft Tavern
    Replies: 5
    Last Post: 11-14-2002, 05:40 AM

Bookmarks

Bookmarks

Posting Permissions

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