title: Why I don't see a question mark when I use WS_EX_CONTEXTHELP?
body: <p>I am learning WinAPI. <a href="https://msdn.microsoft.com/en-us/library/ff700543%28v=vs.85%29.aspx" rel="nofollow noreferrer">MSDN</a>:</p>
  
  <blockquote>
    <p><strong>WS_EX_CONTEXTHELP</strong></p>
    
    <p>The title bar of the window includes a question
    mark. When the user clicks the question mark, the cursor changes to a
    question mark with a pointer. If the user then clicks a child window,
    the child receives a WM_HELP message. The child window should pass the
    message to the parent window procedure, which should call the WinHelp
    function using the HELP_WM_HELP command. The Help application displays
    a pop-up window that typically contains help for the child window.</p>
    
    <p>WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or
    WS_MINIMIZEBOX styles.</p>
  </blockquote>
  
  <p>When I try to use <code>WS_EX_CONTEXTHELP</code> in my code I don't see a question mark. I didn't point the <code>WS_MAXIMIZEBOX</code> or <code>WS_MINIMIZEBOX</code> values in my code:</p>
  
  <p><a href="https://i.stack.imgur.com/fmmJQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fmmJQ.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/0RQKL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0RQKL.png" alt="enter image description here"></a></p>
  
  <p>Why does it happen? My "Hello World" code:</p>
  
  <pre><code>#include &lt;Windows.h&gt;
  #include &lt;tchar.h&gt;
  #include &lt;iostream&gt;
  #include &lt;exception&gt;
  
  using namespace std;
  
  #define APP_RC_SUCCEEDED 0
  #define APP_RC_UNHANDLED_EXCEPTION 1
  #define APP_RC_UNKNOWN_ERROR 2
  #define APP_RC_WINDOW_CLASS_WAS_NOT_REGISTERED 3
  
  #ifdef UNICODE
  #define TCOUT std::wcout
  #define TCIN std::wcin
  #define TCERR std::wcerr
  #else
  #define TCOUT std::cout
  #define TCIN std::cin
  #define TCERR std::cerr
  #endif
  
  LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
  
  int WINAPI WinMain(
      HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, INT iShow)
      try {
      LPCTSTR className = _T("{AAAEB8BF-04C5-4DEA-96C1-FC14F7E66A35}");
  
      WNDCLASSEX wndclassex;
      ZeroMemory(&amp;wndclassex, sizeof(wndclassex));
  
      wndclassex.cbSize = sizeof(wndclassex);
      wndclassex.lpszClassName = className;
      wndclassex.cbClsExtra = 0;
      wndclassex.cbWndExtra = 0;
      wndclassex.hInstance = hInstance;
      wndclassex.lpfnWndProc = WndProc;
      wndclassex.hIcon = LoadIcon(NULL, IDI_APPLICATION);
      wndclassex.hIconSm = LoadIcon(NULL, IDI_APPLICATION);
      wndclassex.hCursor = LoadCursor(NULL, IDC_ARROW);
      wndclassex.lpszMenuName = NULL;
      wndclassex.style = CS_HREDRAW | CS_VREDRAW;
      wndclassex.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
  
      ATOM wAtom = RegisterClassEx(&amp;wndclassex);
  
      if (!wAtom) {
          DWORD errCode = GetLastError();
          TCERR &lt;&lt; _T("Function: RegisterClassEx. System Error Code: ")
              &lt;&lt; errCode &lt;&lt; endl;
          return APP_RC_WINDOW_CLASS_WAS_NOT_REGISTERED;
      }
  
      HWND hwnd = CreateWindowEx(
          WS_EX_CONTEXTHELP,
          className,
          _T("This is the title text..."),
          WS_OVERLAPPEDWINDOW,
          CW_USEDEFAULT,
          CW_USEDEFAULT,
          CW_USEDEFAULT,
          CW_USEDEFAULT,
          NULL,
          NULL,
          hInstance,
          NULL);
  
      ShowWindow(hwnd, iShow);
      UpdateWindow(hwnd);
  
      MSG msg;
      while (GetMessage(&amp;msg, NULL, 0, 0)) {
          TranslateMessage(&amp;msg);
          DispatchMessage(&amp;msg);
      }
      return APP_RC_SUCCEEDED;
  }
  catch (exception ex)
  {
      TCERR &lt;&lt; ex.what() &lt;&lt; endl;
      return APP_RC_UNHANDLED_EXCEPTION;
  }
  catch (...) {
      TCERR &lt;&lt; _T("Unknown error.") &lt;&lt; endl;
      return APP_RC_UNKNOWN_ERROR;
  }
  
  LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
      HDC hdc;
      PAINTSTRUCT ps;
      RECT rect;
      switch (uMsg) {
      case WM_CREATE:
          return 0;
      case WM_PAINT:
          hdc = BeginPaint(hwnd, &amp;ps);
          GetClientRect(hwnd, &amp;rect);
          DrawText(hdc, _T("Hello!"), -1, &amp;rect, DT_SINGLELINE |
              DT_CENTER | DT_VCENTER);
          EndPaint(hwnd, &amp;ps);
          return 0;
      case WM_DESTROY:
          PostQuitMessage(APP_RC_SUCCEEDED);
          return 0;
      default:
          return DefWindowProc(hwnd, uMsg, wParam, lParam);
      }
  }
  </code></pre>