#430 OBJID_* regression in w32api 2.4

closed-fixed
2003-09-23
2003-09-17
No

Hi,

In w32api 2.3 OBJID_* constants were defined in
<winuser.h>.
In w32api 2.4 OBJID_* constants are defined in <winable.h>.

Unfortunately this breaks some programs, such as
Trolltech's Qt 3.2.1 which used to build seamlessly
with w32api 2.3.

Of course OBJID_* constants should be defined in
<winable.h> according to the MSDN:
http://msdn.microsoft.com/library/en-us/msaa/msaaccrf_05tf.asp

Unfortunately according to these other MSDN pages these
OBJID_* constants should *also* be defined in <winuser.h>:
http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/scrollbars/scrollbarreference/scrollbarfunctions/getscrollbarinfo.asp
http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/resources/menus/menureference/menufunctions/getmenubarinfo.asp

Defining these constantes in both files fixes our build
problems and is consistent with Microsoft's SDK.

Please find attached fixed winuser.h file.

Discussion

  • Dimitri Papadopoulos

    put OBJID_* constants back in <winuser.h>

     
  • Dimitri Papadopoulos

    • assigned_to: earnie --> papadopo
    • status: open --> closed-fixed
     
  • Dimitri Papadopoulos

    Logged In: YES
    user_id=300680

    Fixed by ducplicating some constants/structures in
    &lt;winuser.h&gt; and &lt;winable.h&gt;. I'm not sure what happens if
    both files are included together...

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks