Results 1 to 23 of 23

Thread: [Resolved]I don't like the colour Grey

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2002
    Posts
    46

    Unhappy [Resolved]I don't like the colour Grey

    Hi ALL,

    I am looking for some help with the following. I sure hope this is the
    right place. :-)

    I have used the following code to create myself a STATIC control
    only the background of the control is in grey. This would not
    normally be a problem I know, but I just don’t like the colour grey
    and would prefer if the STATIC control's background could be
    red. It was also be nice if I could make that font larger so that I
    could put my magnifier away. Any help/solutions to these
    problems will be gratefully received.

    Code:
    hwndc = CreateWindowEx(
              NULL,                  /* extended style, not needed */
              "STATIC",              /* class identifier */
              "A CONTROL",           /* window title */
              WS_CHILD | SS_CENTER,  /* parameters */
              0, 0, 264, 30,         /* initial position, size */
              hwnd,                  /* handle to parent */
              NULL,                  /* handle to menu (none) */
              hInstance,             /* application instance handle */
              NULL );                /* who needs it? */
    
    ShowWindow(hwndc, SW_SHOW);
    Thanks in advance,

    ISquishWorms
    Last edited by ISquishWorms; Oct 8th, 2002 at 10:01 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width