Thread: Multiple Owner Drawn buttons

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    11

    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
    *this
    Join Date
    Mar 2005
    Posts
    498
    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...

    Code:
    LOWORD (wParam);
    HIWORD (wParam);

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    11
    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

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, 01:13 PM
  2. Owner Drawn (a few questions)
    By Oldman47 in forum Windows Programming
    Replies: 2
    Last Post: 04-17-2007, 08:21 PM
  3. Multiple Owner Drawn buttons
    By budoka in forum Windows Programming
    Replies: 5
    Last Post: 07-20-2005, 12:19 AM
  4. Owner Drawn dynamic menus
    By cpeschke in forum Windows Programming
    Replies: 0
    Last Post: 04-18-2005, 04:55 PM
  5. Owner Drawn Menus
    By Okiesmokie in forum Windows Programming
    Replies: 6
    Last Post: 08-09-2002, 09:39 PM