« Return to Thread: Problem with creating new GUI Window

Re: Problem with creating new GUI Window

by Christoph Bünker :: Rate this Message:

Reply to Author | View in Thread

Yes, I have added the class and it derived from nGuiClientWindow. It is
included in the buildprocess. About the macros I am not sure. How can I
check this??

But nevertheless, I just solved the problem by creating directly a
nGuiClientWindow instead of this testWindow.

But thanks for help
Christoph

-----Ursprüngliche Nachricht-----
Von: nebuladevice-discuss-bounces@...
[mailto:nebuladevice-discuss-bounces@...] Im Auftrag von
Ghoust
Gesendet: Donnerstag, 25. Januar 2007 21:49
An: nebuladevice-discuss@...
Betreff: Re: [Nebula-Discuss] Problem with creating new GUI Window

And do you have a nebula gui class added to your code named testWindow
derived from nGuiWindow or nGuiClientWindow?
Is this class registered in your buildprocess and has the corresponding
nNebulaClass(testWindow, "nguiclientwindow") macros in your cc file?


Tom

Christoph Bünker wrote:

>
> Hi together,
>
> I start using nebula 2 at the moment and so I encounter different
> problems from time to time. Now, I try to create a new GUI Window, but
> somehow, when I am trying to initiate it, the program shuts down with
> the error message: *“nKernelServer: Couldn’t create object ‘window2’
> of class ‘testWindow’”.*
>
> I am using the nApplicationTutorial and there created a ntestwindow.h
> and a ntestwindow.cc
>
> The way I try to create the second window is the following:
>
> this->testWindow =
> static_cast<nTestWindow*>(this->ngui->NewWindow("testWindow", false));
>
> So it would be great if there is anyone who could give me a hint what
> I am doing wrong.
>
> Thanks for help and Cheers
>
> Christoph
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your

> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
>
> *** NOTE: To reply to the list use "reply to all",  ***
> ***       to reply direct to the sender use "reply" ***
> _______________________________________________
> Nebuladevice-discuss mailing list
> Nebuladevice-discuss@...
> https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss
>  


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss

 « Return to Thread: Problem with creating new GUI Window