 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Mon Nov 24, 2008 12:46 pm Post subject: [C++] transfering from GUI to cpp |
|
|
I'm trying to transfer data from my GUI to my main.cpp, how would I do this? My GUI is coded in pure win32 api also.
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Mon Nov 24, 2008 12:52 pm Post subject: |
|
|
I don't get what your saying...
Where's your GUI Located?
Your main.cpp is just a file.
Show some examples cause no one knows what your talking about.
_________________
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Mon Nov 24, 2008 12:58 pm Post subject: |
|
|
Here is app.rc
IDD_DIALOG1 DIALOG 0, 0, 147, 152
STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_FIXEDSYS | WS_VISIBLE | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
CAPTION "ban me"
FONT 8, "Ms Shell Dlg 2"
BEGIN
GROUPBOX "Known Info", IDC_STATIC, 6, 6, 132, 74
EDITTEXT IDC_KUSER, 46, 18, 73, 13, ES_AUTOHSCROLL
LTEXT "User:", IDC_STATIC, 16, 18, 25, 13
LTEXT "Pass:", IDC_STATIC, 16, 36, 28, 13
EDITTEXT IDC_KPASS, 46, 36, 73, 13, ES_AUTOHSCROLL
LTEXT "Pin:", IDC_STATIC, 16, 54, 17, 10
EDITTEXT IDC_KPIN, 46, 54, 73, 12, ES_AUTOHSCROLL
GROUPBOX "Cracked Info", IDC_STATIC, 6, 87, 132, 42
LTEXT "User:", IDC_STATIC, 13, 99, 20, 10
EDITTEXT IDC_CUSER, 35, 97, 56, 12, ES_AUTOHSCROLL
LTEXT "Pass:", IDC_STATIC, 13, 112, 18, 8
EDITTEXT IDC_CPASS, 35, 112, 56, 12, ES_AUTOHSCROLL
PUSHBUTTON "START", IDC_STARTBTN, 16, 136, 112, 14
END
so how would i get whats in IDC_CUSER and put it in something in main.cpp?
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
GMZorita Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Mar 2007 Posts: 1361
|
Posted: Mon Nov 24, 2008 1:09 pm Post subject: |
|
|
| ElectroFusion wrote: | Here is app.rc
IDD_DIALOG1 DIALOG 0, 0, 147, 152
STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_FIXEDSYS | WS_VISIBLE | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
CAPTION "ban me"
FONT 8, "Ms Shell Dlg 2"
BEGIN
GROUPBOX "Known Info", IDC_STATIC, 6, 6, 132, 74
EDITTEXT IDC_KUSER, 46, 18, 73, 13, ES_AUTOHSCROLL
LTEXT "User:", IDC_STATIC, 16, 18, 25, 13
LTEXT "Pass:", IDC_STATIC, 16, 36, 28, 13
EDITTEXT IDC_KPASS, 46, 36, 73, 13, ES_AUTOHSCROLL
LTEXT "Pin:", IDC_STATIC, 16, 54, 17, 10
EDITTEXT IDC_KPIN, 46, 54, 73, 12, ES_AUTOHSCROLL
GROUPBOX "Cracked Info", IDC_STATIC, 6, 87, 132, 42
LTEXT "User:", IDC_STATIC, 13, 99, 20, 10
EDITTEXT IDC_CUSER, 35, 97, 56, 12, ES_AUTOHSCROLL
LTEXT "Pass:", IDC_STATIC, 13, 112, 18, 8
EDITTEXT IDC_CPASS, 35, 112, 56, 12, ES_AUTOHSCROLL
PUSHBUTTON "START", IDC_STARTBTN, 16, 136, 112, 14
END
so how would i get whats in IDC_CUSER and put it in something in main.cpp? |
lol you dont, you use the resource file
| Code: | | DialogBox(hModule, MAKEINTRESOURCE(IDD_DIALOG1), NULL, (DLGPROC)DlgProc); |
_________________
Gone |
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Mon Nov 24, 2008 2:26 pm Post subject: |
|
|
@GMZorita: Shhh...
Include the resource header if u haven't already then use the control identifier in the function your trying to use.
_________________
|
|
| Back to top |
|
 |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Mon Nov 24, 2008 2:35 pm Post subject: |
|
|
Thanks lurc, for saying that in english
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
| Back to top |
|
 |
|
|
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
|
|