EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Help!?!?!

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-23-2005, 09:40 PM
Sheyn Sheyn is offline
A Brown Bear
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 8
Default OnKeyPress?

Hi all, recently through this forums' help I was able to make a min/maxing Inventory window using Buttons with the OnPress property.

I'm curious tho, what is (or even if it's allowed) the command for keyboard presses?

I.e., I normally press "I" to open my inventory window altogether, but would like to change it so that "I" also functions as the min/max input.

OnKeyboardPress?
OnInput?

I have no idea! Thanks for anyone consideration
Reply With Quote
  #2  
Unread 04-23-2005, 10:49 PM
decadre decadre is offline
A Crazed Gnoll
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 21
Default my guess

I would guess OnKeyboardPress if those are your options. As far as I remember from my glorious and wonderful edjumacion keypresses are stored in a buffer, so you technically need to be looking there, and if you have OnKeyboardPress, that would make sense to me.
Reply With Quote
  #3  
Unread 04-24-2005, 01:17 AM
Zeyr's Avatar
Zeyr Zeyr is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nektulos
Posts: 42
Default

I don't think we're allowed to catch any keypresses. Just enter and escape as default/cancel buttons.
Reply With Quote
  #4  
Unread 04-24-2005, 03:25 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

If I recall what I've seen discussed correctly, you can add IsCancelButton="true" to a button, and it will catch the open/close keypress for that window. I have not used this myself, however.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #5  
Unread 04-24-2005, 10:23 AM
Sheyn Sheyn is offline
A Brown Bear
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 8
Default

Ack, okies then it sounds like a gray area type thing. Perhaps I'll leave it be.

Ideally what I was going for is, remapping my Open / Close Inventory Window button to something I'd hit once when I log in, say letter Y.

Then I minimize my Inventory window so that (mod'd of course) 2 of my 6 Inventory slots are showing only. This allows me to hotswap Activatable items (such as Heal Potions, Horse whistle, Curing Potions, Totems, etc.) quickly without looking into my bags for them.

The trouble is, I keep hitting the I key to maximize the window, where instead I was simply Opening / Closing the whole Inventory Window.

I'll stick to using the OnPress buttons I added to min / max it. Don't want to get into any kind of EULA trouble

Thanks everyone for your time!
Reply With Quote
  #6  
Unread 04-24-2005, 12:21 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

It's not so much problem with the EULA, it's getting it to work the way you want it to work.

Here is what I suggest.

Use the 'OnShow' and 'OnHide' events to toggle the window between the minimized version and the extended version.



That way each time you hit the 'I' key it will toggle the window for you.
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #7  
Unread 04-24-2005, 12:48 PM
dc_roenfanz's Avatar
dc_roenfanz dc_roenfanz is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Unkown
Posts: 588
Default

Hmmmm. Logically this makes sence, but I'm having trouble conjecturing how she would use the IsCancelButton and OnShow/Hide at the same time. I guess I would hafta see this window in action. Is it similiar to FetishInventory? It seems doable to me, but my brain is all mush right now
Reply With Quote
  #8  
Unread 04-24-2005, 01:29 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by dc_roenfanz
Hmmmm. Logically this makes sence, but I'm having trouble conjecturing how she would use the IsCancelButton and OnShow/Hide at the same time. I guess I would hafta see this window in action. Is it similiar to FetishInventory? It seems doable to me, but my brain is all mush right now

I'm just guessing of course, but I would have to see the XML for her window.
But it seems like it wouldn't be all that difficult.
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #9  
Unread 04-24-2005, 08:29 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Quote:
Originally Posted by Sheyn
Ack, okies then it sounds like a gray area type thing... Don't want to get into any kind of EULA trouble
There is no gray area or EULA trouble. Zeyr either meant "capable" instead of "allowed", or he was incorrect.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #10  
Unread 04-24-2005, 11:00 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by Deathbane27
There is no gray area or EULA trouble. Zeyr either meant "capable" instead of "allowed", or he was incorrect.

Perhaps I missed something?

I though this person just wanted a window to expand or contract on a key press?
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #11  
Unread 04-24-2005, 11:14 PM
Zeyr's Avatar
Zeyr Zeyr is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nektulos
Posts: 42
Default

Quote:
Originally Posted by Deathbane27
There is no gray area or EULA trouble. Zeyr either meant "capable" instead of "allowed", or he was incorrect.
I meant capable. It doesn't violate the EULA in anyway, but as far as I know you can't capture keystrokes outside of what's already there. I'm happy to be proven wrong though! Being able to capture keystrokes for our own hotkeys would be very nice!

I'll try to be a bit more precise in the future, I didn't mean to cause any confusion.
Reply With Quote
  #12  
Unread 04-25-2005, 01:56 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Quote:
Originally Posted by Kosmos
Perhaps I missed something?

I though this person just wanted a window to expand or contract on a key press?
You missed nothing. Sheyn mis-interpretted something Zeyr said. What he wants is very much within the realm of what we can and are allowed to do.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #13  
Unread 04-25-2005, 10:09 AM
Sheyn Sheyn is offline
A Brown Bear
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 8
Default

Hehe yes, oops, I misinterpreted the 'allowed' part to mean eula instead of coding allowed.

I'm still such a newb that I'm not sure how to implement the IsCancelButton property, and I'll play around with the OnShow/OnHide stuff to see how that affects things.

Thanks again everybody!
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:20 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI