Windows Forms quick help

Posts 1–12 of 12 · Page 1 of 1
Windows Forms quick help
yo wadup bois, well I'm finally done with externals moving into internals now but I saw something yesterday that I wanted to do before actually moving to internals because I like to learn about it, and that's Windows Forms. My external was pretty good but it only had a ugly looking console menu with the hotkeys :/ which is the average of how people do it but after looking at windows forms, I think that its 100 times better. So I got a question for you guys:


How do you call functions thru windows forms? I used synckey for my menu but lets say for the checkboxes how I make it so when you check a specific box it will enable the function.


There's not that many sources with windows forms so I couldn't look at one. If you got one please link it
C++ Doesn't have forms anymore afaik, however C# and other .NET languages do. That's all I can help with.
Quote Originally Posted by ActualCheats View Post
C++ Doesn't have forms anymore afaik, however C# and other .NET languages do. That's all I can help with.
I know you don't.... but you can attach it to a c++ function.

- - - Updated - - -

I found this from @WasserEsser Invincible source. I think this would help me. Mind helping ?


Code:
private: System::Void triggerEnabledGUI_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {

	/* Set TriggerEnabled on/off based on it's current state */

	TriggerEnabled = !TriggerEnabled;
}
Quote Originally Posted by Lols12342 View Post
I know you don't.... but you can attach it to a c++ function.

- - - Updated - - -

I found this from @WasserEsser Invincible source. I think this would help me. Mind helping ?


Code:
private: System::Void triggerEnabledGUI_CheckedChanged(System::Object^  sender, System::EventArgs^  e) {

	/* Set TriggerEnabled on/off based on it's current state */

	TriggerEnabled = !TriggerEnabled;
}
I'm not sure how the Invincible source works as I have never looked at it but from that I can only assume that's a form that's changing a local variable, and by local I mean in that program.

I'm not 100% sure what you are trying to do?
Are you wanting to control your c++ cheat with a .NET form in two separate programs?
Quote Originally Posted by ActualCheats View Post
C++ Doesn't have forms anymore afaik, however C# and other .NET languages do. That's all I can help with.
sir... yes it does... http://www.mpgh.net/forum/showthread.php?t=1170859

- - - Updated - - -

Quote Originally Posted by Lols12342 View Post
Nvm, resolved. Got it working with the source code // will give credits @WasserEsser .
you can make your own... in visual studio make a new project and browse online templates, select visual c++ then go to c++ windows forms and BAM you got it
Quote Originally Posted by ImWhacky View Post
sir... yes it does... http://www.mpgh.net/forum/showthread.php?t=1170859

- - - Updated - - -





you can make your own... in visual studio make a new project and browse online templates, select visual c++ then go to c++ windows forms and BAM you got it
Ik that's what I did... I just needed a way to call the functions thru the checkboxes and I got it. Also the reason why I'm so interested into windows forms was because your external cheat release that menu was sexy, I had a console menu lol.
Quote Originally Posted by Lols12342 View Post
Ik that's what I did... I just needed a way to call the functions thru the checkboxes and I got it. Also the reason why I'm so interested into windows forms was because your external cheat release that menu was sexy, I had a console menu lol.
ohhh ok, i thought you didnt know how to do forms and shit. and thank you kind sir that cheat was originally a console too until i figured it out lmao
Quote Originally Posted by ImWhacky View Post
ohhh ok, i thought you didnt know how to do forms and shit. and thank you kind sir that cheat was originally a console too until i figured it out lmao



I'm going to work on this Il transfer all my external cheats functions over than, Il release it to the public. Thank you bro.
Quote Originally Posted by Lols12342 View Post



I'm going to work on this Il transfer all my external cheats functions over than, Il release it to the public. Thank you bro.
no problem
Nvm, resolved. Got it working with the source code // will give credits @WasserEsser .
If you really want to use Windows Forms, use C# over C++. C++ is a native language; using managed code is pointless when you could just switch to C# which also gives you more control over forms.
/Solved & closed.
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us