Announcement

Collapse
No announcement yet.

COMMCTRL.INC error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • COMMCTRL.INC error

    Hello,

    I have found a mistake in the function MontCal_GetColor.
    The constant to use in SendMessage must be %MCM_GETCOLOR
    and not %MCM_SETCOLOR.

    ------------------

  • #2
    Well spotted! Thanks!

    For those reading this, the function in question is actually called "MonthCal_GetColor".




    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Question: Lance, I did a text search of the COMMCTRL.INC file
      that shipped with my copy of PBDLL6.0, and couldn't find any of
      the above-referenced functions or constants (to correct, if
      found).

      Is there a more current version of COMMCTRL.INC? (Or am I looking
      in the wrong place?)

      ------------------

      Comment


      • #4
        The Win32API include files are updated quite regularly. Find 'em here:
        http://www.powerbasic.com/files/pub/pbwin/

        ------------------
        Tom Hanlin
        PowerBASIC Staff

        Comment

        Working...
        X