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 › Programming › C++/C Programming › D3D Simple MENU

D3D Simple MENU

Posts 1–15 of 18 · Page 1 of 2
LY
Lyoto Machida
D3D Simple MENU
Can someone make me a simple d3d menu example ,
that works on a d3d windows?

I tried many ways,
All of them, blinks on d3d windows,
failed.

I dont want someone base, i just want a very very simple example how to make it work good on d3d windows, i beg you help, my dream is make a good d3d menu XDDDDDDD
The example can be just a simple Hello World text..Please

Cause all my ways fail, Blinks or desapier, Please help me
#1 · 15y ago
Melodia
Melodia
Quote Originally Posted by Lyoto Machida View Post
Can someone make me a simple d3d menu example ,
that works on a d3d windows?

I tried many ways,
All of them, blinks on d3d windows,
failed.

I dont want someone base, i just want a very very simple example how to make it work good on d3d windows, i beg you help, my dream is make a good d3d menu XDDDDDDD
The example can be just a simple Hello World text..Please

Cause all my ways fail, Blinks or desapier, Please help me
Hook Endframe or w.e thing that gets called near the end of the frame drawing func. of w.e engine/game you're messing with, And call your crap with it ; Yay no more blinking/disappearance. But if you're asking like that I highly doubt your knowledge of drawing engines/D3D/etc..
#2 · 15y ago
WH
whit
Checkout @Void sig he made simple Menu Class
#3 · 15y ago
LY
Lyoto Machida
Quote Originally Posted by Melodia View Post


Hook Endframe or w.e thing that gets called near the end of the frame drawing func. of w.e engine/game you're messing with, And call your crap with it ; Yay no more blinking/disappearance. But if you're asking like that I highly doubt your knowledge of drawing engines/D3D/etc..
Im new on d3d stuff, very new, my whole menu is made with the functions DrawText and SetRects and FillRects etc..

It works good on normal windows, but sucks on d3d windows...

I only can find projects with like 10 files and cannot understand very well the menu, just want like a simple Hello World text example =(

To make like a simple text on the screen is very hard? cause no one helps me, never.
#4 · edited 15y ago · 15y ago
LY
Lyoto Machida
Thanks alot @Void
#5 · 15y ago
FO
Fovea
It's not necessary to use hooks to prevent flickering. Double buffering is usually enough to suffice.
#6 · 15y ago
LY
Lyoto Machida
Quote Originally Posted by Fovea View Post
It's not necessary to use hooks to prevent flickering. Double buffering is usually enough to suffice.
Any ideas how i do that?
#7 · 15y ago
AN
Anarchy99
2 Min pseudo
Code:
int Pos;

typedef struct { // can be a class 
  string name;
  bool bSwitch; // or int/float what ever you want
}p_Menu;

p_Menu  Menu[] = {
    { "Hack1", false  },
    { "Hack2", false  },
    { "Hack3", false  },
    {" Hack4", false  }
}

void Handler( int i )
{
    if(GetASyncKeyState(VK_UP))
          Pos++;
    if(GetASyncKeyState(VK_DOWN))
          Pos--;  
    if(GetASyncKeyState(VK_RIGHT))
          Menu[i].bState != Menu[i].bState;
          
}
HRESULT WINAPI EndScene( )
{
   for(int i=0;i<ARRAYSIZE(Menu);i++)
   {
          Handler( int i );
          if( i == Pos )
              DrawBox( MenuPos+(20*i));
          D3DCOLOR pColor = ( Menu[i].bState ? Red : Green );
          DrawString( MenuPos+(20*i) , Menu[i].name , pColor );

   }
   return oEndScene( );
}
Don't try to put this in a compiler this is just a simple how to Draw a menu and handle key's, this is as simple as a menu gets;


You Flickering is caused by your rendering methods!
#8 · edited 15y ago · 15y ago
LY
Lyoto Machida
Quote Originally Posted by Anarchy99 View Post
2 Min pseudo
Code:
int Pos;

typedef struct { // can be a class 
  string name;
  bool bSwitch; // or int/float what ever you want
}p_Menu;

p_Menu  Menu[] = {
    { "Hack1", false  },
    { "Hack2", false  },
    { "Hack3", false  },
    {" Hack4", false  }
}

void Handler( int i )
{
    if(GetASyncKeyState(VK_UP))
          Pos++;
    if(GetASyncKeyState(VK_DOWN))
          Pos--;  
    if(GetASyncKeyState(VK_RIGHT))
          Menu[i].bState != Menu[i].bState;
          
}
HRESULT WINAPI EndScene( )
{
   for(int i=0;i<ARRAYSIZE(Menu);i++)
   {
          Handler( int i );
          if( i == Pos )
              DrawBox( MenuPos+(20*i));
          D3DCOLOR pColor = ( Menu[i].bState ? Red : Green );
          DrawString( MenuPos+(20*i) , Menu[i].name , pColor );

   }
   return oEndScene( );
}
Don't try to put this in a compiler this is just a simple how to Draw a menu and handle key's, this is as simple as a menu gets;


You Flickering is caused by your rendering methods!
hmm Thanks will try to use your way later..
My menu is all made with DrawText without font LOL
it works good but not on d3d windows
Thanked
#9 · 15y ago
freedompeace
freedompeace
Wait.. so if you're making a DirectX-based menu, and it works on non-"D3D windows" but not DirectX windows, then what the heck are non-"D3D windows"?!
#10 · 15y ago
WH
whit
Quote Originally Posted by freedompeace View Post
Wait.. so if you're making a DirectX-based menu, and it works on non-"D3D windows" but not DirectX windows, then what the heck are non-"D3D windows"?!
He means not D3D windows As in Nopetad & win32/.NET apps i think
#11 · edited 15y ago · 15y ago
TH
TheBest-1337
Quote Originally Posted by freedompeace View Post
Wait.. so if you're making a DirectX-based menu, and it works on non-"D3D windows" but not DirectX windows, then what the heck are non-"D3D windows"?!
non-D3D windows are menus that are not 3D lol
#12 · 15y ago
LY
Lyoto Machida
Quote Originally Posted by freedompeace View Post
Wait.. so if you're making a DirectX-based menu, and it works on non-"D3D windows" but not DirectX windows, then what the heck are non-"D3D windows"?!
Any apps that are not games like GTA or crossfire ,combat arms etc..

But no one fucking give me a example , i need always the get a source from someone without understand shit about directx..

And i did one from topblast menu, but its detected on the game idk why..
Thats why i want to make my own working, cause all my own BLINKS or fucking dont work
#13 · edited 15y ago · 15y ago
freedompeace
freedompeace
Quote Originally Posted by whit View Post
He means not D3D windows As in Nopetad & win32/.NET apps i think
You can't use DirectX in a GDI window |:
Well, you can, but let's no get into that.

Quote Originally Posted by Lyoto Machida View Post


Any apps that are not games like GTA or crossfire ,combat arms etc..

But no one fucking give me a example , i need always the get a source from someone without understand shit about directx..

And i did one from topblast menu, but its detected on the game idk why..
Thats why i want to make my own working, cause all my own BLINKS or fucking dont work
You need to show us what you're doing .
#14 · 15y ago
Auxilium
Auxilium
Maybe you should just learn DirectX for real.
#15 · 15y ago
Posts 1–15 of 18 · Page 1 of 2

Post a Reply

Tags for this Thread

None