Search found 10 matches

by RoBaTte
Fri Apr 17, 2009 9:22 pm
Forum: Beginners Help
Topic: GUI Parent/Child visibility
Replies: 10
Views: 684

that's it :)
thank you.
by RoBaTte
Fri Apr 17, 2009 6:34 pm
Forum: Beginners Help
Topic: GUI Parent/Child visibility
Replies: 10
Views: 684

ah nice, I had to figure out the same thing and now I read the solution. But, is there any way to have the same parent-child behaviour like ISceneNodes have? Means, that I can have an IGUIElemtent as a child of another one but outside of the parents rect? So that the child-element moves along with t...
by RoBaTte
Wed Apr 15, 2009 3:34 pm
Forum: Advanced Help
Topic: HICON to Texture
Replies: 5
Views: 1323

The thread is some month old, but maybe someone has still to solve the same problem. I had to ;) Here is my working code: void getIconTexture( const char* name, HICON icon) { HDC hdc = GetDC( NULL); PICONINFO iconInfo; BITMAP bmpInfo; GetIconInfo( icon, iconInfo); GetObject( iconInfo->hbmColor, size...
by RoBaTte
Sat Jul 19, 2008 5:31 pm
Forum: Beginners Help
Topic: Win32 Help
Replies: 2
Views: 302

Hi,

I assume that in Game::draw() you call something like

Code: Select all

device->run()
Dont call it. It will let irrlichts internal WNDPROC dispatch thhe messages.

But you have to call

Code: Select all

device->getTimer()->tick();
in every loop, because device->run() wont do it for you anymore ;)
by RoBaTte
Wed Jan 23, 2008 8:15 pm
Forum: Code Snippets
Topic: Irrlicht plus wxDialog
Replies: 4
Views: 2214

Nice :D
by RoBaTte
Tue Jan 22, 2008 5:20 pm
Forum: Beginners Help
Topic: wxDialog Irrlicht
Replies: 10
Views: 331

Hi,

It would be to easy, but did you try to remove the

Code: Select all

if (Device->isWindowActive()){
stuff?
by RoBaTte
Tue Jan 22, 2008 5:16 pm
Forum: Beginners Help
Topic: (try to) compiling the newest svn-ver Irrlicht...
Replies: 1
Views: 135

(try to) compiling the newest svn-ver Irrlicht...

I got the latest svn-irrlicht-source and tryed to compile it with Code::Blocks (nightbuild dez.07, MingW-5.1.3, Irrlicht in c:\irrlicht\). And this time I got no directx-error! Yo! It immediately stops and give an error in the EGUIElementTypes.h . expected init-declarator before '*' token at //! Nam...
by RoBaTte
Mon Jan 21, 2008 5:43 pm
Forum: Beginners Help
Topic: wxDialog Irrlicht
Replies: 10
Views: 331

Allright, I don't know wxWindow, so I can't give you explicit advices. But what you have to do is, to put the Irrlicht-main stuff ( driver->beginScene(true, true, colBackground); smgr->drawAll(); env->drawAll(); driver->endScene(); ) in the message-loop of the main-window. Remember the following: Af...
by RoBaTte
Mon Jan 21, 2008 8:26 am
Forum: Beginners Help
Topic: wxDialog Irrlicht
Replies: 10
Views: 331

You have to differ between no repaint and not reacting on user input . It could be, that Irrlicht is rendering your scene at 100 frames per second but only react on your mouse/keyboard actions, if your Dialog is manually focused. You can easly check this, if you youse a helper like FRAPS or you writ...
by RoBaTte
Thu Jun 07, 2007 2:44 pm
Forum: Code Snippets
Topic: (C++) Basic Win32 Window
Replies: 4
Views: 2929

Als Desktop-Hintergrund...

Hi Dances, I used your code and it worked fine. Thanks. But then I used FindWindow( 0, "Program Manager"); as parent for my application, just for using my irrlicht-app as desktopwallpaper. Everything works fine and uses nearly no cpu, but I can't get any usefull messages/events. Do you hav...