AutoHotkey Community

It is currently May 26th, 2012, 9:44 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject:
PostPosted: September 30th, 2008, 6:14 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2008, 7:40 pm 
Offline

Joined: January 12th, 2008, 7:45 pm
Posts: 131
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2008, 12:12 pm 
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 ?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 1st, 2008, 4:43 pm 
Offline

Joined: January 12th, 2008, 7:45 pm
Posts: 131
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!!


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 1st, 2009, 3:19 pm 
how would you call a resize and position for the GPP_SetPicture() function?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2009, 12:56 am 
Offline

Joined: March 30th, 2009, 7:17 pm
Posts: 9
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], iBob35555VR, krajan, tomoe_uehara, Yahoo [Bot] and 62 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group