nanogui: Thread: WINDOW movement


[<<] [<] Page 1 of 1 [>] [>>]
Subject: WINDOW movement
From: RAHUL RAVINDRAN ####@####.####
Date: 6 Sep 2008 06:03:32 -0000
Message-Id: <705016.18177.qm@web56901.mail.re3.yahoo.com>

Sir,
Is it possible in nanox that window which is created with
nanox window manager should not be moved by the user or should not get focus(if there are multiple windows involved).if yes can you give me some hints.Because i want
to make messagebox in nanox.
Please help me.




      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
Subject: Re: [nanogui] WINDOW movement
From: "Greg Haerr" ####@####.####
Date: 7 Sep 2008 02:29:12 -0000
Message-Id: <0e5901c91091$6e08e9b0$6501a8c0@winXP>

> Is it possible in nanox that window which is created with
nanox window manager should not be moved by the user or should not get 
focus(if there are multiple windows involved).if yes can you give me some 
hints.Because i want
to make messagebox in nanox.

I'm not really sure what you're asking, but it sounds like you want to
have a mode where if there's a certain style bit set in a top level
window, the window manager won't allow it to be moved.  If that's
the case, you would have to implement a new style bit, set with
GrSetWMProperties, and then modify the window manager to
disallow moves when that bit is set.

Regards,

Greg 

Subject: Re: [nanogui] WINDOW movement
From: Michael Schnell ####@####.####
Date: 8 Sep 2008 10:16:15 -0000
Message-Id: <48C4FB35.7000807@lumino.de>

I (newbie) found that when simply creating a window (with decoration)
same can't be moved by mouse-cations of the user (nor closed, nor....).
So you need to create some code in the application to allow the user to
move the window or do any other actions on it.

I did not find out yet how to do this.

Question:

Is there some standard (library) code I just can copy into the
application to allow things like moving, resizing, closing, ...

(P.S.: I don't use C++ but just standard C).

-Michael

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.