Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do i control the GUI in MSVC++ EE ?

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Apr 28, 2008 12:36 pm    Post subject: How do i control the GUI in MSVC++ EE ? Reply with quote

i have a Form with a button, why can't i double click it and start coding ?

do i have to do something specific ?

when i double click the button it takes me here:

Code:
#pragma endregion
   private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {

          }
   };
}


what do i need to do ? i want the button to MessageBox(), how do i do it ?
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Mon Apr 28, 2008 12:39 pm    Post subject: Reply with quote

Thats C++.NET
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Apr 28, 2008 12:43 pm    Post subject: Reply with quote

Symbol wrote:
Thats C++.NET


i've noticed it's .NET (because all of the components), but how do i use the buttons, and forms, and checkboxes ?

what do i write ? no wonder most MSVC++ coders are using Win32 Console UI -_-
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Mon Apr 28, 2008 12:54 pm    Post subject: Reply with quote

I hate C++.NET, but do whatever you want...

Controls are classes, and how do you access a class member? x->y;

Here is how to show the check state of a CheckBox:
MessageBox::Show(checkBox1->Checked.ToString());
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Mon Apr 28, 2008 1:56 pm    Post subject: Reply with quote

code straight within the function it takes you too...

Code:
   private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
    MessageBox::Show("You clicked button 1!!");
          }

_________________
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Apr 29, 2008 2:55 am    Post subject: Reply with quote

i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Tue Apr 29, 2008 2:59 am    Post subject: Reply with quote

Rot1 wrote:
i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console


Woot, the delphi source! sounds awesome, i know how to make most of it, but the actual main thing, increase a number by 1 every time its used, but still let it be a 4 decimal number Razz, i could make it 1-2-3-4-5-6-7-8-9-10..., but not 0001-0002-0003-0004-0005-0006-0007-0008-0009-0010 Razz
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Apr 29, 2008 3:02 am    Post subject: Reply with quote

Anden100 wrote:
Rot1 wrote:
i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console


Woot, the delphi source! sounds awesome, i know how to make most of it, but the actual main thing, increase a number by 1 every time its used, but still let it be a 4 decimal number Razz, i could make it 1-2-3-4-5-6-7-8-9-10..., but not 0001-0002-0003-0004-0005-0006-0007-0008-0009-0010 Razz


The increasement part was by Renko, it involved abit C Syntax (Format()) "%d".

anyways, the PiNHunter (Latest) source is broken to 3 parts:

Func2.DLL - Delphi
Func.DLL - MSVC++ 2008 (C)
PiNHunter.EXE - Delphi
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Tue Apr 29, 2008 3:16 am    Post subject: Reply with quote

Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console


Woot, the delphi source! sounds awesome, i know how to make most of it, but the actual main thing, increase a number by 1 every time its used, but still let it be a 4 decimal number Razz, i could make it 1-2-3-4-5-6-7-8-9-10..., but not 0001-0002-0003-0004-0005-0006-0007-0008-0009-0010 Razz


The increasement part was by Renko, it involved abit C Syntax (Format()) "%d".

anyways, the PiNHunter (Latest) source is broken to 3 parts:

Func2.DLL - Delphi
Func.DLL - MSVC++ 2008 (C)
PiNHunter.EXE - Delphi


So, the increment is made in C?
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Apr 29, 2008 3:17 am    Post subject: Reply with quote

Anden100 wrote:
Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console


Woot, the delphi source! sounds awesome, i know how to make most of it, but the actual main thing, increase a number by 1 every time its used, but still let it be a 4 decimal number Razz, i could make it 1-2-3-4-5-6-7-8-9-10..., but not 0001-0002-0003-0004-0005-0006-0007-0008-0009-0010 Razz


The increasement part was by Renko, it involved abit C Syntax (Format()) "%d".

anyways, the PiNHunter (Latest) source is broken to 3 parts:

Func2.DLL - Delphi
Func.DLL - MSVC++ 2008 (C)
PiNHunter.EXE - Delphi


So, the increment is made in C?


No, the code is in delphi. (and is included in the EXE because it cannot be exported due to communication between DLL and EXE)
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Tue Apr 29, 2008 3:22 am    Post subject: Reply with quote

Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console


Woot, the delphi source! sounds awesome, i know how to make most of it, but the actual main thing, increase a number by 1 every time its used, but still let it be a 4 decimal number Razz, i could make it 1-2-3-4-5-6-7-8-9-10..., but not 0001-0002-0003-0004-0005-0006-0007-0008-0009-0010 Razz


The increasement part was by Renko, it involved abit C Syntax (Format()) "%d".

anyways, the PiNHunter (Latest) source is broken to 3 parts:

Func2.DLL - Delphi
Func.DLL - MSVC++ 2008 (C)
PiNHunter.EXE - Delphi


So, the increment is made in C?


No, the code is in delphi. (and is included in the EXE because it cannot be exported due to communication between DLL and EXE)


Well, what is made in C then?
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Apr 29, 2008 3:31 am    Post subject: Reply with quote

Anden100 wrote:
Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console


Woot, the delphi source! sounds awesome, i know how to make most of it, but the actual main thing, increase a number by 1 every time its used, but still let it be a 4 decimal number Razz, i could make it 1-2-3-4-5-6-7-8-9-10..., but not 0001-0002-0003-0004-0005-0006-0007-0008-0009-0010 Razz


The increasement part was by Renko, it involved abit C Syntax (Format()) "%d".

anyways, the PiNHunter (Latest) source is broken to 3 parts:

Func2.DLL - Delphi
Func.DLL - MSVC++ 2008 (C)
PiNHunter.EXE - Delphi


So, the increment is made in C?


No, the code is in delphi. (and is included in the EXE because it cannot be exported due to communication between DLL and EXE)


Well, what is made in C then?


*Func.DLL
-GetDlgValue(); (LPCVOID) [BOOL, not sure i gatta check [later]] (Return value = Dialog value) - ReadProcessMemory

there's more, just 1 export it includes
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Tue Apr 29, 2008 4:29 am    Post subject: Reply with quote

Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
Anden100 wrote:
Rot1 wrote:
i'm going to make PiNHunter in VC++ (Convert it from Delphi) and release the delphi source for public since poeple wanted to see it.

and i need to design a UI which is going to be hard, if i will not be capeable of this, i will have to make it Win32 Console


Woot, the delphi source! sounds awesome, i know how to make most of it, but the actual main thing, increase a number by 1 every time its used, but still let it be a 4 decimal number Razz, i could make it 1-2-3-4-5-6-7-8-9-10..., but not 0001-0002-0003-0004-0005-0006-0007-0008-0009-0010 Razz


The increasement part was by Renko, it involved abit C Syntax (Format()) "%d".

anyways, the PiNHunter (Latest) source is broken to 3 parts:

Func2.DLL - Delphi
Func.DLL - MSVC++ 2008 (C)
PiNHunter.EXE - Delphi


So, the increment is made in C?


No, the code is in delphi. (and is included in the EXE because it cannot be exported due to communication between DLL and EXE)


Well, what is made in C then?


*Func.DLL
-GetDlgValue(); (LPCVOID) [BOOL, not sure i gatta check [later]] (Return value = Dialog value) - ReadProcessMemory

there's more, just 1 export it includes


Oh Razz, ill hope you will release the source Razz, seems awesome Razz
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Apr 29, 2008 7:57 am    Post subject: Reply with quote

Rot1 wrote:
i'm going to make PiNHunter in VC++


This type of software is not what this section is for. Locked.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites