AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Drawing on top of a fullscreen d3d app?
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Wyrmskull
Guest





PostPosted: Tue Sep 30, 2008 5:14 pm    Post subject: Reply with quote

300W wrote:

Edit: btw, do you know how to call to the different layers? he claims that you're allowed to draw on 5 different layers (indexed as 0 to 4), meaning that you can use 5 multiline and single line layers... Dunno how to call it to draw on a different layer...


That should be the first argument in those function, that first byte which I've set to 1 to do the testings. You change that to 2,3,4,5 to use the other layers I think.
Back to top
BIG_RED_TEXT



Joined: 12 Jan 2008
Posts: 130

PostPosted: Tue Sep 30, 2008 6:40 pm    Post subject: Reply with quote

Wyrmskull wrote:

That should be the first argument in those function, that first byte which I've set to 1 to do the testings. You change that to 2,3,4,5 to use the other layers I think.

I tried that and it didn't work:

Code:
DllCall( "gpcomms\GPSL_SetTextLineData",Uchar,0x1,UShort,5,UShort,5,str,"layer 1",UInt,0xFFFFFFFF,Int,0,Uchar,30,Int,0,Uchar,0)
DllCall( "gpcomms\GPSL_SetTextLineData",Uchar,0x2,UShort,5,UShort,100,str,"layer 2",UInt,0xFFFFFFFF,Int,0,Uchar,30,Int,0,Uchar,0)


it only draws the first layer, the second one is not seen...
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Oct 01, 2008 11:12 am    Post subject: Reply with quote

Quote:

Code:
DllCall( "gpcomms\GPSL_SetTextLineData",Uchar,0x1,UShort,5,UShort,5,str,"layer 1",UInt,0xFFFFFFFF,Int,0,Uchar,30,Int,0,Uchar,0)
DllCall( "gpcomms\GPSL_SetTextLineData",Uchar,0x2,UShort,5,UShort,100,str,"layer 2",UInt,0xFFFFFFFF,Int,0,Uchar,30,Int,0,Uchar,0)


Code:
result := DllCall("gpcomms\\GPML_ShowText", Uchar, 0x1, Int, GPP_Toggled)
result := DllCall("gpcomms\\GPML_ShowText", Uchar, 0x2, Int, GPP_Toggled)


Are you sure you also toggled second layer xD ?
Back to top
BIG_RED_TEXT



Joined: 12 Jan 2008
Posts: 130

PostPosted: Wed Oct 01, 2008 3:43 pm    Post subject: Reply with quote

Guest wrote:

Code:
result := DllCall("gpcomms\\GPML_ShowText", Uchar, 0x1, Int, GPP_Toggled)
result := DllCall("gpcomms\\GPML_ShowText", Uchar, 0x2, Int, GPP_Toggled)


Are you sure you also toggled second layer xD ?



Haha, i didn't even think about it at all, thank you!!
Back to top
View user's profile Send private message
arnold_friend
Guest





PostPosted: Wed Apr 01, 2009 2:19 pm    Post subject: how to resize and position picture Reply with quote

how would you call a resize and position for the GPP_SetPicture() function?
Back to top
Ore Aird



Joined: 30 Mar 2009
Posts: 9

PostPosted: Sun Apr 05, 2009 11:56 pm    Post subject: Reply with quote

Not so clever with the coding to work out everything this script does but very interested in trying to get an AHK Code that will Transfer the IRC text onto an Overlay in a DX9 game.

Has anyone cracked that yet ?

~Ore
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group