User forums > Using Code::Blocks
MessageBox() does not pop up a message box
(1/1)
hkBattousai:
This one works with no problem:
--- Code: ---wxMessageBox(_("Text"), _("Title"));
--- End code ---
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);
--- End code ---
Have any idea why the second one fails?
MortenMacFly:
--- Quote from: hkBattousai on August 13, 2009, 03:54:19 pm ---Have any idea why the second one fails?
--- End quote ---
Unrelated to Code::Blocks.
-> Violates our forum rules.
-> Topic locked.
Navigation
[0] Message Index
Go to full version