| View previous topic :: View next topic |
| Author |
Message |
The0neThe0nly Expert Cheater
Reputation: 0
Joined: 08 Dec 2009 Posts: 119 Location: In a box
|
Posted: Sat Sep 17, 2011 9:20 am Post subject: What type of code is this? |
|
|
252 DIALOGEX 0, 0, 650, 265
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Upload Video"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
CONTROL "Test", 0, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 150, 116, 60, 14
}
What type of code is this?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25860 Location: The netherlands
|
Posted: Sat Sep 17, 2011 9:24 am Post subject: |
|
|
it's a resource
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
The0neThe0nly Expert Cheater
Reputation: 0
Joined: 08 Dec 2009 Posts: 119 Location: In a box
|
Posted: Sat Sep 17, 2011 7:11 pm Post subject: |
|
|
Is it possible to use another process's menuitem in your own dll?
I want to create a button in a DLL, that when injected, has the ID of a menuitem in the process.
Is this possible?
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Sep 17, 2011 7:38 pm Post subject: |
|
|
Yes, just get the module handle of the DLL (or exe) that has the resource you want in it and use the appropriate API to obtain the menu resource.
_________________
- Retired. |
|
| Back to top |
|
 |
The0neThe0nly Expert Cheater
Reputation: 0
Joined: 08 Dec 2009 Posts: 119 Location: In a box
|
Posted: Tue Sep 20, 2011 7:46 pm Post subject: |
|
|
Is there anything I can read to fully understand this?
I am very confused
|
|
| Back to top |
|
 |
|