| View previous topic :: View next topic |
| Author |
Message |
Sharel972 Newbie cheater
Reputation: 0
Joined: 02 Nov 2009 Posts: 24 Location: israel
|
Posted: Sat Nov 07, 2009 2:01 am Post subject: [Help] C++ Dll injection |
|
|
| I want my Trainer will be possible to open several windows together, which means that if say I opened a window then blocked access to the main window until I close the window opening. I want that not be a blocked access.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sat Nov 07, 2009 6:40 am Post subject: |
|
|
| modal/modeless windows
|
|
| Back to top |
|
 |
Sharel972 Newbie cheater
Reputation: 0
Joined: 02 Nov 2009 Posts: 24 Location: israel
|
Posted: Sat Nov 07, 2009 7:38 am Post subject: |
|
|
i didn't understand .. what do u mean ?
here is an example to dialog:
| Code: | BOOL CALLBACK DlgProc6 (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
UNREFERENCED_PARAMETER(lParam);
switch(uMsg)
{
case WM_INITDIALOG:
break;
case WM_HOTKEY:
break;
case WM_COMMAND:
break;
}
case WM_CLOSE:
EndDialog(hWnd, 0);
return TRUE;
break;
case WM_DESTROY:
EndDialog(hWnd, 0);
return TRUE;
break;
default:
break;
}
return 0;
} |
and that what i write in main dialog:
| Code: | if(wParam == IDC_BUTTON6)
{
DialogBox(GlobalhMod, MAKEINTRESOURCE(IDD_DIALOG2), hWnd, (DLGPROC)DlgProc2);
} |
|
|
| Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Sat Nov 07, 2009 12:10 pm Post subject: |
|
|
if you use DialogBox( .. ); to create the dialog, the user can not use the parent dialog until the child dialog has been closed.
You can use CreateDialog( .. ); to create a dialog where the user can use both dialogs at the same time.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
|
| Back to top |
|
 |
Sharel972 Newbie cheater
Reputation: 0
Joined: 02 Nov 2009 Posts: 24 Location: israel
|
Posted: Sat Nov 07, 2009 1:46 pm Post subject: |
|
|
| tombana wrote: | if you use DialogBox( .. ); to create the dialog, the user can not use the parent dialog until the child dialog has been closed.
You can use CreateDialog( .. ); to create a dialog where the user can use both dialogs at the same time. |
Thank u that work !
|
|
| Back to top |
|
 |
|