Skip navigation

My real name is William Sherif.

pet peeves

  • slow internet
  • products that don’t work
  • being single
  • settling for “hokey”

I’m really cool :)>

There are lots of bobobobo’s on the internet — however, __for me__, this is the _ONLY_ place that I use bobobobo as an alias.

EDIT: I’m now an active StackOverflow member. my reputation.

Red Zombie

if this blog helped you, please donate! (

billy [ dot ] baloop [ at ] gmail [ dot ] com


    • Sherri Retton
    • Posted January 27, 2009 at 12:43 am
    • Permalink


    • GamerKev
    • Posted May 28, 2009 at 12:14 pm
    • Permalink

    thanks for the info on setting up CG, have just got my head around C++, OpenGl, Direct and I am now wanting to use CG, Thanks agian for the advice

  1. Really nice site with cool tutorials. Thanks!

    • Drew
    • Posted January 21, 2011 at 6:15 pm
    • Permalink

    Great Tutorials! Thanks a bunch!

  2. Hello bobobobo,

    I read your, “Adding an icon system tray Win32 C++” here:

    Thank you very much. It told me simply and clearly what I had been unable to find for many months. And it showed me a few other things I needed along the way.

    There is a comment in the code about something you didn’t understand. Maybe I can help. It says:

    // create the menu once.
    // oddly, you don’t seem to have to explicitly attach
    // the menu to the HWND at all. This seems so ODD.

    I did a little experimenting. It seems you don’t need to create the menu in response to a message or in any particular time or context. It’s just a set of data specifying stuff. It doesn’t belong to anything. Later, in the program you call TrackPopupMenu and run it modally. That’s the only place it has any significance. Look it over again. You’ll see it’s that simple.

    Thanks again for a really good sample.


  3. Thank you for explaining the definition of a limit so well.

    • Anonymous
    • Posted December 1, 2011 at 6:00 am
    • Permalink


    The most straight forward explanation of how Windows work in C++

  4. hey, I really like your content, feel free to come over to and check us out. I am looking for like minded people to help build the community. If you are interested, get in touch with me, what benefits me will benefit you too.

    • T
    • Posted February 18, 2013 at 5:20 pm
    • Permalink

    Thank you for your troubleshooting :)


  6. @tanginamo Thank you for your comment.

  7. u look like ur on windows team – i recommend doing opencl after this, skip past direct 3d please compute shaders and doing the mathematical 3d projection manually would be good for the next generation of kids to skip to. ??? opinions….

  8. One of my pet peeves is examples that dont work – LOL – here’s your work compiled

    bobo\bobo.cpp:318:60: warning: passing NULL to non-pointer argument 1 of ‘void FatalAppExitA(UINT, LPCSTR)’ [-Wconversion-null]
    FatalAppExit( NULL, TEXT(“CreateWindow() failed!”) );
    C:\mirc614\bobo\bobo.cpp:441:65: warning: passing NULL to non-pointer argument 1 of ‘void FatalAppExitA(UINT, LPCSTR)’ [-Wconversion-null]
    FatalAppExit( NULL, TEXT(“ChoosePixelFormat() failed!”) );
    C:\mirc614\bobo\bobo.cpp:453:19: warning: NULL used in arithmetic [-Wpointer-arith]
    if (result == NULL)
    C:\mirc614\bobo\bobo.cpp:455:62: warning: passing NULL to non-pointer argument 1 of ‘void FatalAppExitA(UINT, LPCSTR)’ [-Wconversion-null]
    FatalAppExit( NULL, TEXT(“SetPixelFormat() failed!”) );
    C:\mirc614\bobo\bobo.cpp: In function ‘LRESULT WndProc(HWND, UINT, WPARAM, LPARAM)’:
    C:\mirc614\bobo\bobo.cpp:625:17: warning: variable ‘hdc’ set but not used [-Wunused-but-set-variable]
    HDC hdc;
    Output file is bin\Release\bobo.exe with size 23.00 KB
    Process terminated with status 0 (0 minute(s), 2 second(s))
    0 error(s), 5 warning(s) (0 minute(s), 2 second(s))

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: