Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Miniwindows ➜ How exactly you create window using multiple flags?

How exactly you create window using multiple flags?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Yastren   (2 posts)  Bio
Date Wed 19 Sep 2012 06:34 AM (UTC)

Amended on Wed 19 Sep 2012 06:36 AM (UTC) by Yastren

Message
Hi, maybe it is a stupid question, but I just can't get how to use more then one flag in WindowCreate function.

I want to create tranparent window using "absolute location" method for positioning. If I type

WindowCreate (win, x_pos, y_pos, window_width, window_height, 4,  miniwin.create_transparent, miniwin.create_absolute_location)


window is created, positioning is OK, but its not transparent.

I also tried tried many combinations like
WindowCreate (win, x_pos, y_pos, window_width, window_height, 4,  miniwin.create_transparent miniwin.create_absolute_location)

WindowCreate (win, x_pos, y_pos, window_width, window_height, 4,  4 2)

WindowCreate (win, x_pos, y_pos, window_width, window_height, 4,  24)

WindowCreate (win, x_pos, y_pos, window_width, window_height, 4,  42)

WindowCreate (win, x_pos, y_pos, window_width, window_height, 4,  2+4)


but all I got was errors.

So what should I type to get my precious transparent window on exact location I want it? =)

P.S. sry for my English
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 19 Sep 2012 09:52 AM (UTC)
Message
Quote:

I also tried tried many combinations like

WindowCreate (win, x_pos, y_pos, window_width, window_height, 4, miniwin.create_transparent miniwin.create_absolute_location)


Add them:


WindowCreate (win, x_pos, y_pos, window_width, window_height, 4,  
               miniwin.create_transparent + miniwin.create_absolute_location)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Yastren   (2 posts)  Bio
Date Reply #2 on Wed 19 Sep 2012 11:41 AM (UTC)
Message
Thanks alot, now it works! :D
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,178 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.