Page 1 of 1

Working with win32 dialog

Posted: Sat Aug 23, 2008 05:21
by erwinxu
Hi all

I have created a windows dialog in my Ogre project, it shows normally in windowed mode, but it can't get the mouse focus, the mouse (TaharezLook mouse) will go underneath the dialog window.

I put a edit control in the dialog, hopt it can manage Chinese input. Can I make the mouse acts like a normal windows mouse when it is on top of the dialog?

thanks

Re: Working with win32 dialog

Posted: Mon Aug 25, 2008 13:27
by daves
erwinxu wrote: Can I make the mouse acts like a normal windows mouse when it is on top of the dialog?

thanks


You should be able to. Its difficult to imagine what you might be running in to.
Can you post some of your cegui initialization code, as well as the dialog construction code. I'd also like to know how your capturing mouse inputs. Remember neither ogre, nor cegui, are responsible for capturing/distributing mouse inputs. What Input/Output system are you using?