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 › whats wrong with this?

whats wrong with this?

Posts 1–4 of 4 · Page 1 of 1
WH
whitten
whats wrong with this?
[html]Public Function PutWindowOnTop(pFrm As Form)
Dim lngWindowPosition As Long LngWindowPosition = SetWindowPos(pFrm.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE)[/html]



it says error.
im using vb 6...
thanks!
#1 · edited 17y ago · 17y ago
Dave84311
[MPGH]Dave84311
I don't think that is C++
#2 · 17y ago
WH
whitten
well it's for a crosshair...
this is my code for the buttons:
[html]Private Sub Command1_Click()
Call PutWindowOnTop(Form2)
Form2.Show
Call PutWindowOnTop(Form3)
Form3.Show
End Sub

Private Sub Command2_Click()
Call PutWindowOnTop(Form2)
Form2.Hide
Call PutWindowOnTop(Form3)
Form3.Hide
End Sub
[/html]
#3 · 17y ago
Dave84311
[MPGH]Dave84311
You used Public Function instead of Public Sub?
#4 · 17y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • whats wrong with this...By NetNavi in WarRock - International Hacks
    6Last post 19y ago
  • Whats wrong with this code ?By bohnenbong in WarRock - International Hacks
    7Last post 18y ago
  • Whats wrong with thisBy Obama in General
    76Last post 17y ago
  • Whats wrong with this?By superHackz in WarRock - International Hacks
    1Last post 18y ago
  • Whats wrong with this?By superHackz in Visual Basic Programming
    1Last post 18y ago

Tags for this Thread

#wrong