Author Topic: A menu questions  (Read 3674 times)

0 Members and 1 Guest are viewing this topic.

Offline LVTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Activity:
    0%
  • Reputation Power: 1
  • LV has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
A menu questions
« on: October 15, 2012, 03:03:06 PM »
0
Hi everyone,

I have a question.  Is it possible to grab the current menu window coords (not contpos, the menu).  I don't seem to be able to find a mechanism for it, and in my current project I wanted a way to save the current menu position.


LV
« Last Edit: October 15, 2012, 03:20:35 PM by LV »

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: A menu questions
« Reply #1 on: October 15, 2012, 03:30:55 PM »
0
Are you talking about menu window coords from within a EUO user interface, or the client display?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline LVTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Activity:
    0%
  • Reputation Power: 1
  • LV has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: A menu questions
« Reply #2 on: October 15, 2012, 03:40:49 PM »
0
The menu window coords.

For example:

menu show 100 100 100 100

will create a window at 100 100.  if a user moves that window to a preferred location, i wanted to be able to trap the new coords the user prefers and save them as a preference on exit.

I am dawdling at releasing a script :)


Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: A menu questions
« Reply #3 on: October 15, 2012, 03:48:01 PM »
0
Hmm, yeh I don't think that's information that's available from within EUO.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline LVTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Activity:
    0%
  • Reputation Power: 1
  • LV has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: A menu questions
« Reply #4 on: October 15, 2012, 04:18:34 PM »
0
yeah, i have never run accross it either.  i mean i could make external exe that grabs windows handle and determines coords, passes it back through registry...but um, no.  just thought maybe i was missing somthing simple. thanks!




Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: A menu questions
« Reply #5 on: October 15, 2012, 06:55:01 PM »
0
why not just make 2 vars   %MenuX %menuY  and place them at the top of the script for users to customize if they wish.  Thats what i do anyways.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline LVTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Activity:
    0%
  • Reputation Power: 1
  • LV has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: A menu questions
« Reply #6 on: October 15, 2012, 07:55:23 PM »
0
thanks endless night. 

yeah, that's what i basically have, was just looking for a way to make better but always physical limitations.  I guess i am running out of reasons for not releasing the script lol.

Tags: menu