Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: hkBattousai on August 13, 2009, 03:54:19 PM

Title: MessageBox() does not pop up a message box
Post by: hkBattousai on August 13, 2009, 03:54:19 PM
This one works with no problem:
wxMessageBox(_("Text"), _("Title"));

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

Have any idea why the second one fails?
Title: Re: MessageBox() does not pop up a message box
Post by: MortenMacFly on August 13, 2009, 05:00:06 PM
Quote from: hkBattousai on August 13, 2009, 03:54:19 PM
Have any idea why the second one fails?
Unrelated to Code::Blocks.
-> Violates our forum rules.
-> Topic locked.