Search:

Type: Posts; User: ZaidK

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,517

    Ok ! u mean to say that the first value of...

    Ok ! u mean to say that the first value of COLOR_(which i think is COLOR_SCROLLBAR) will get treated as a NULL pointer!Got it !Thnks @grumpy @novacain :D
  2. Replies
    5
    Views
    1,517

    Ok ! I got that HBRUSH is a pointer type but what...

    Ok ! I got that HBRUSH is a pointer type but what about "Adding the 1 is necessary to ensure all valid COLOR_xxx values correspond to a non-NULL HBRUSH."? Is it in the MS documentation or just a...
  3. Replies
    5
    Views
    1,517

    Confused with COLOR_ constants

    Books(the Charles Petzold one) say that there is a need of adding +1 while using the System colours like..

    wndclass.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1)

    I don't understand the need of...
Results 1 to 3 of 3