How do I make simple Windows error message box in Dev-C++?
<p>I'm trying to make Windows message box that is shown in this <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505%28v=vs.85%29.aspx" rel="nofollow">page</a></p>

<p>I'm using latest <code>Dev-C++</code>.</p>

<p>My current code is this:</p>

<pre><code>#include &lt;windows.h&gt;

 int DisplayResourceNAMessageBox() {
    int msgboxID = MessageBox(
        NULL,
        (LPCWSTR)L"Resource not available\nDo you want to try again?",
        (LPCWSTR)L"Account Details",
        MB_ICONWARNING | MB_CANCELTRYCONTINUE | MB_DEFBUTTON2
    );

    switch (msgboxID)
    {
    case IDCANCEL:
        // TODO: add code
        break;
    case IDTRYAGAIN:
        // TODO: add code
        break;
    case IDCONTINUE:
        // TODO: add code
        break;
    }

    return msgboxID; }
</code></pre>

<p>I get bunch of errors like: </p>

<blockquote>
  <p>"MB_CANCELTRYCONTINUE undeclared", "IDTRYAGAIN undeclared", etc.</p>
</blockquote>

<p>I'm absolute noob, what do I do?</p>