Results 1 to 2 of 2

Thread: Using Clanlib In Mfc Child Window

  1. #1

    Default Using Clanlib In Mfc Child Window

    my mfc appliction need richedit and listctrl, so i use clanlib in child window just as :

    1. Create child window, use its hwnd to create DisplayWindow by DisplayWindowDescription::set_handle;
    2. For keep mfc message loop, so i add KeepAlive:rocess(1) in CWinApp::PumpMessage;
    3. Also I Have to create a timer for all clanlib guicomponent's reflash(eg: sprite update; GUIWindowManager::update, complete_painting ...);

    Although Its can Run, but it is so ugly, and i don't know whether exist other problems.

    Ask for help.

    sorry for my poor english;

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

    Default

    That's probably the only way.

Similar Threads

  1. ClanLib Layered Window design & performance issues
    By rmorison in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 02-09-2010, 08:58 AM
  2. Play video inside ClanLib window
    By falsinfab in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 01-20-2010, 01:13 PM
  3. X windows inside a sdl/clanlib window
    By l3thal in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 12-26-2009, 08:47 PM
  4. 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
  5. Building my first app in ClanLib (Cannot display game window)
    By ViolentOne in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 08-16-2009, 10:34 PM

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
  •