Re: TreeView label editing

"Pierre Terdiman" <[email protected]> Fri, 6 Jul 2007 18:07:01 +0200
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
> > Be sure to post what was causing your problems if you figure it out,
> > it could help someone out in the future.. you never know
>
> Yep, will do. I'll try to check this out this week-end.

Apparently it's because of a SetFocus() call while processing the
WM_ACTIVATE message. I added this like 3 years ago to solve some problem. It
comes with this comment:

   // Make sure that last activated window gets the focus. This fixes the
missing mouse wheel events
   // in render window. It also makes sure selecting another control removes
the focus from render window.

    window->SetFocus();

Hmmm. In any case removing this line fixing the treeview issue. I'll have to
revisit this one a bit....

- Pierre


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555