View Single Post
  #2  
Unread 12-28-2011, 05:04 PM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
Daimon! Has anyone done this for you yet? I had a go - seems to work.

Add this to the end of Main.Lua

Code:
prog.ppWin:SetWantsKeyEvents(true)

prog.ppWin.KeyDown = function( sender, args )
	if args.Action ==  0x100000B3 then
		prog.ppWin:SetVisible(not(prog.ppWin:IsVisible()))
	end
end
Call it a late Christmas present *grin*
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote