- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.3
>>
HasFocus
Pages: [
1
]
« previous
next »
Print
Author
Topic: HasFocus (Read 468 times)
tom_namibia
Customers
Community Member
Posts: 89
HasFocus
«
on:
December 01, 2007, 09:34:03 AM »
Hi,
why is TV3D.HasFocus always False?
I just tried the vb6 tutorial samples. Somehoe it is irritating, that when the sample is running and I switch to another application, e.g. like writing this post right now, the sample also processes all keyboard inputs.
Tom
Logged
SylvainTV
Administrator
Community Member
Posts: 4479
Re: HasFocus
«
Reply #1 on:
December 03, 2007, 02:01:00 PM »
Maybe it's because it's initialized into a picturebox ?
I think that HasFocus works only when the engine is initialized directly in a Form, not in a PictureBox. Try to change the handle during the initialization so that it initializes in the window.
Logged
Regards
Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com
TV3D IRC at
http://chat.truevision3d.com
or on server irc.truevision3d.com #Truevision3D. Come talk with us !
tom_namibia
Customers
Community Member
Posts: 89
Re: HasFocus
«
Reply #2 on:
December 04, 2007, 02:37:23 PM »
Hi Silvian,
yes, when the engine is initialized directly in a Form, TV3D.HasFocus works as expected.
But now I realized, when I add a Toolbar or a Statusbar to the form, the rendering area is not adjusted. The engine is still rendering in the whole form, so parts are lying invisible behind the statusbar and behind the toolbar.
It would be nice, if HasFocus would also work, if the engine is initialized into a container like a picturebox or a usercontrol. Or at least, the LostFocus and GotFocus-Events of the container should work. These events are currently also not fired.
Is this maybe a bug in 6.3 and fixed in 6.5?
Ciao, Tom
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
=> TV3D SDK 6.5
===> Bugs
===> Content Pipeline
===> Shader Development
-----------------------------
Projects
-----------------------------
=> Announcements
=> In-Development
=> Showcase
=> Recruitment
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
=> Game Development
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks