title: Creating context menu for win32 API
body: <p>I am trying to create context menu for win32 application using </p>
  
  <pre><code>case WM_RBUTTONDOWN:
  {
      HMENU hPopupMenu = CreatePopupMenu();
      InsertMenu(hPopupMenu, 0, MF_BYPOSITION | MF_STRING, ID_CLOSE, (LPCWSTR)"Exit");
      InsertMenu(hPopupMenu, 0, MF_BYPOSITION | MF_STRING, ID_EXIT, (LPCWSTR)"Play");
      SetForegroundWindow(hWnd);
      TrackPopupMenu(hPopupMenu, TPM_BOTTOMALIGN | TPM_LEFTALIGN, 0, 0, 0, hWnd, NULL);
  }</code></pre>
  
  <p>But I always get context menu as shown below</p>
  
  <p><a href="http://img191.imageshack.us/img191/866/70219076.png">alt text http://img191.imageshack.us/img191/866/70219076.png</a></p>
  
  <p>I want text <strong>exit</strong> and <strong>play</strong> to be displayed in the menu</p>