HelpVisual Basic Menu

Posts 1–15 of 17 · Page 1 of 2
Visual Basic Menu
I have found out how to make a decent menu with visual basic, but i need help putting it over crossfire. If you are wondering, i didn't make a hack in visual basic, just the menu with a bit of items... It sends a .txt and .dll to a special directory, then injects it, and after that the .dll checks the .txt file for features on/off. My Question is, how do i make my vb window above crossfire

My Current VB Menu :

Some work as radio buttons using CheckedChanged

I have also made a menu hack in c++ but it uses drawfont and without a hook it makes my FPS go down alot...

Thanks
Try :
Code:
Form1.TopLevel = true
Form1.TopMost = true
That should make it work in the lobby well but in the game i still have the same in my pvt project as u can see in my signature
Quote Originally Posted by I2espect View Post
Try :
Code:
Form1.TopLevel = true
Form1.TopMost = true
That should make it work in the lobby well but in the game i still have the same in my pvt project as u can see in my signature
nice one, but same this as interactive.app right?
PS : Vb.net isn't a good language to make hacks with .......
Quote Originally Posted by I2espect View Post
PS : Vb.net isn't a good language to make hacks with .......
well, not a hack, just a menu.

when u turn a item on or off it edits a .txt file which the .dll(made in c++) will look inside and see what is on or off.
Quote Originally Posted by lucasheer715 View Post
well, not a hack, just a menu.

when u turn a item on or off it edits a .txt file which the .dll(made in c++) will look inside and see what is on or off.
anyway try what i said ...
Quote Originally Posted by I2espect View Post
anyway try what i said ...
didnt work
Quote Originally Posted by lucasheer715 View Post
didnt work
okey follow what i will say :
- Change Crossfire to window mode..
-In Your Show/Hide Timer ,Make A bool at the end and add the code above to it ..
[Sry Bad English ]
Code:
If GetKeys(Inset){
Show=!Show; or what ever is it :D :)
if(Show){
Form1.TopLevel = true
Form1.TopMost = true
}
}
So If it'snot the top one just press insert twice ... Get it ?!
Try That It Should Works Well..
Quote Originally Posted by I2espect View Post
he is talking about Vb.net
Pretty much the same thing..
Quote Originally Posted by I2espect View Post
he is talking about Vb.net
C# and VB.NET is completely the same, except the syntax...
add this to your timer,
Code:
Me.TopMost = true
then inside your dll hack
Code:
VOID Hack()
{
//some codes here
if(pPlayerClient != NULL) //if in-game
{
HWND CFWindow = GetForegroundWindow();
HWND MenuWindow = FindWindowA(NULL, "Your menu name");
if (MenuWindow != NULL)
	if( SetForegroundWindow(MenuWindow ) )
		SetForegroundWindow(CFWindow );
}
}
Quote Originally Posted by kjbmarr View Post
add this to your timer,
Code:
Me.TopMost = true
then inside your dll hack
Code:
VOID Hack()
{
//some codes here
if(pPlayerClient != NULL) //if in-game
{
HWND CFWindow = GetForegroundWindow();
HWND MenuWindow = FindWindowA(NULL, "Your menu name");
if (MenuWindow != NULL)
	if( SetForegroundWindow(MenuWindow ) )
		SetForegroundWindow(CFWindow );
}
}
Ban idea, it will hugely decrease th FPS in crossfire, also will cause that Crossfire window will loose focus, so it will freeze the fuck out, as always...

@lucasheer715
Shor explanation:

Override this method in your form, so it Can't be focused, that means:
You can click on the buttons, and crossfire won't freeze out
Code:
get
{
CreateParams param = base.CreateParams;
param.ExStyle |= 0x08000000;
return param;
}
Put this 2 line into the form, so crossfire won't overlay it:
Code:
this.TopMost = true;
this.TopLevel = true;
Actually, thats all i needed to make a good menu, without intense FPS decreasing...
Quote Originally Posted by rabir007 View Post


Ban idea, it will hugely decrease th FPS in crossfire, also will cause that Crossfire window will loose focus, so it will freeze the fuck out, as always...

@lucasheer715
Shor explanation:

Override this method in your form, so it Can't be focused, that means:
You can click on the buttons, and crossfire won't freeze out
Code:
get
{
CreateParams param = base.CreateParams;
param.ExStyle |= 0x08000000;
return param;
}
Put this 2 line into the form, so crossfire won't overlay it:
Code:
this.TopMost = true;
this.TopLevel = true;
Actually, thats all i needed to make a good menu, without intense FPS decreasing...
i am using the same as u but in looby it works well , but in game crossfire gets on top... !
Posts 1–15 of 17 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us