Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Combat Arms Hacks & Cheats › Combat Arms Hack Coding / Programming / Source Code › How to attach box to menu?

How to attach box to menu?

Posts 1–10 of 10 · Page 1 of 1
cosconub
cosconub
How to attach box to menu?
ok i have whit's combo base

and i have added his autosize box

and i have added move menu

how would i attach the Box to the menu so when i move the menu the box's goes with it.
#1 · 16y ago
CR
Crash
boxX = menuX + offset;
boxY = menuY + offset;
#2 · 16y ago
cosconub
cosconub
Thank you,

this was a question but i solved it.
#3 · edited 16y ago · 16y ago
NO
NOOBJr
Request close/
#4 · 16y ago
DarkPrime
DarkPrime
wow that was short and sweet. how did you come across that?
#5 · 16y ago
cosconub
cosconub
i was gonna say that i was testing it lol works 100% i just had to do some math so text fit's alright
#6 · edited 16y ago · 16y ago
LI
LightzOut
Or you could just set your box's x/y to the same variable as your menu. That way when you increase/decrease their values, both the menu and the box will move accordingly.
#7 · 16y ago
cosconub
cosconub
kinda what i did
this is exactly what i did
Code:
DrawBox(menux-10, menuy, 185, frame, D3DCOLOR_XRGB(40, 40, 40),D3DCOLOR_ARGB(255, 0, 0, 255),pDevice);
Code:
if(GetAsyncKeyState(VK_LCONTROL)) MoveMenu = (!MoveMenu);

if( MoveMenu ) {
   POINT myCursor; 
   GetCursorPos(&myCursor); // get the cursor position.
   if(GetAsyncKeyState(VK_LBUTTON)) {
      menux = myCursor.x; // set the x of your menu to the cursor x position.
      menuy = myCursor.y; // set the y of your menu to the cursor y position.
   }
}
i wanna make it a menu option but idk how atm.
#8 · 16y ago
LI
LightzOut
Well to do that all you would have to do would be make a variable for it and call it whatever you want - like MoveMenu or something.
Then instead of the hotkey you have for it, all you would have to do would be:
Code:
//Globals:
int MoveMenu = 0;

//Then add it to your menu like any other hack.

//Hackthread or RenderFrame:
if(MoveMenu > 0){
     //... Do move menu code ...//
}
So that is basically all you need to do, it is just like adding any other hack to your menu.
#9 · 16y ago
cosconub
cosconub
thanks and Request close
#10 · 16y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • How do I make a MENU BOX??By pawel9711 in Piercing Blow Hack Coding/Source Code
    0Last post 15y ago
  • Can someone plz post how to make arrow moving menu in vb6By aprill27 in Visual Basic Programming
    2Last post 18y ago
  • [REQUEST]How work that :Warrock D3D Menu HackBy taylan in Programming Tutorial Requests
    0Last post 16y ago
  • How to attach keylogger whit any programBy sunbun in Programming Tutorial Requests
    4Last post 17y ago
  • How to Find Box Address?By ac1d_buRn in Combat Arms Hack Coding / Programming / Source Code
    12Last post 16y ago

Tags for this Thread

None