Search:

Type: Posts; User: Matt-Stevens

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    18,863

    Thanks for the reply...WM_CTLCOLORSTATIC worked...

    Thanks for the reply...WM_CTLCOLORSTATIC worked first time.

    Declared at the beginning of the message handler:


    HBRUSH hBackground = CreateSolidBrush(RGB(0, 0, 0));
  2. Replies
    2
    Views
    18,863

    Win32 API - Group Box Control

    Hi people,
    I was just wondering how do you change the background text colour (on the caption) on a group box control? aswell as the font and text colour itself.

    This is how I create a group box:...
  3. Replies
    3
    Views
    5,197

    keybd_event(VK_CAPITAL, 0, 0, 0); ...

    keybd_event(VK_CAPITAL, 0, 0, 0); // this turns caps on
    keybd_event(VK_CAPITAL, 0, KEYEVENTF_KEYUP, 0); // this turns caps off
  4. Replies
    2
    Views
    7,971

    wow, thank you so much. I wasn't expecting a...

    wow, thank you so much. I wasn't expecting a reply that fast, especially one as informative and easy to understand as yours. I initialised cyClient in WM_SIZE and from now on I will not print below...
  5. Replies
    2
    Views
    7,971

    C win32 API - Scrollbar won't work

    Hi guys, sorry my first post here is a question with a load of code...I'll pay you guys back ;).

    So, here is my question...I have been reading Petzold's book (Programming Windows - Fifth Edition)...
Results 1 to 5 of 5