Thread: Multiple Owner Drawn buttons

  1. #1
    Registered User
    Join Date
    Jun 2005

    Multiple Owner Drawn buttons

    ok, i'm a C++ noob trying to put owner drawn buttons on a regioned, skinned window. so far i'm trying to accomplish this by following the msdn info here but it says, "You would typically use the wParam parameter of the WM_DRAWITEM message to identify the control; in this example, only one control is assumed."

    only problem is, i have no idea how to use the wParam parameter.

    any words of wisdom would be much appreciated. thanks

  2. #2
    Join Date
    Mar 2005
    post in the windows forum.

    wParam contains two things, I dont know which one you will need to access. But you access them by doing this...

    LOWORD (wParam);
    HIWORD (wParam);

  3. #3
    Registered User
    Join Date
    Jun 2005
    thanks for the reply. i'll repost in the windows area, sorry for posting in the wrong area.

    at least i know more now than i did anyway. thanks!

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001

    Replies to Multiple Owner Drawn buttons

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems defining classes
    By esmeco in forum C++ Programming
    Replies: 47
    Last Post: 10-24-2007, 02:13 PM
  2. Owner Drawn (a few questions)
    By Oldman47 in forum Windows Programming
    Replies: 2
    Last Post: 04-17-2007, 09:21 PM
  3. Multiple Owner Drawn buttons
    By budoka in forum Windows Programming
    Replies: 5
    Last Post: 07-20-2005, 01:19 AM
  4. Owner Drawn dynamic menus
    By cpeschke in forum Windows Programming
    Replies: 0
    Last Post: 04-18-2005, 05:55 PM
  5. Owner Drawn Menus
    By Okiesmokie in forum Windows Programming
    Replies: 6
    Last Post: 08-09-2002, 10:39 PM
Website Security Test