Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - cw_usedefault is a constant which you can use in the createwindow() call http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  CW_USEDEFAULT is a constant which you can use in the CreateWindow() call
in Microsoft Windows in order to create a window with a default size. This
is mainly used when you create your main application Window. Under MEWEL,
using CW_USEDEFAULT will give you a full-screen window.
  Example :

  hWnd = CreateWindow("PCMove",         /* window class      */
                      "File Moving Utility",/* window name   */
                      WS_OVERLAPPEDWINDOW,  /* window style  */
                      CW_USEDEFAULT,    /* x position - 0    */
                      CW_USEDEFAULT,    /* y position - 0    */
                      CW_USEDEFAULT,    /* width      - 80   */
                      CW_USEDEFAULT,    /* height     - 25   */
#ifdef MEWEL
                      SYSTEM_COLOR, 0,
#endif
                      NULL,     /* parent handle             */
                      NULL,     /* menu or child ID          */
                      hInstance,/* instance                  */
                      NULL);    /* additional info           */

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson