Author Topic: MessageBox() does not pop up a message box  (Read 7628 times)

Offline hkBattousai

  • Single posting newcomer
  • *
  • Posts: 5
MessageBox() does not pop up a message box
« on: August 13, 2009, 03:54:19 pm »
This one works with no problem:
Code
wxMessageBox(_("Text"), _("Title"));

This one has no compile or run-time error but does nothing, no message box is displayed:
Code
MessageBox(*(HWND *) KeyloggerFrame::GetHandle(), _("Text"), _("Title"), MB_OK);

Have any idea why the second one fails?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: MessageBox() does not pop up a message box
« Reply #1 on: August 13, 2009, 05:00:06 pm »
Have any idea why the second one fails?
Unrelated to Code::Blocks.
-> Violates our forum rules.
-> Topic locked.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ