Help save net neutrality! Learn more.
Close

#4 new version (1.6) doesn't compile

closed-fixed
nobody
None
9
2004-11-19
2004-11-18
No

the version as it is now isn't compilable:

- in win32gui/events/wm/common.hpp it should be
#include <win32gui/events/wm/detail/common_draw.hpp>
#include <win32gui/events/wm/detail/common_keyb.hpp>
#include <win32gui/events/wm/detail/common_menu.
hpp>
#include <win32gui/events/wm/detail/common_mouse.
hpp>

you forgot the "detail"-folder

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

- strangely some WM_* defines in common_mouse.hpp
are undefined...although i include <windows.h> before
<win32gui/pch/pch.h> in my stdafx.h.

i added this lines to common_mouse.hpp:
#ifndef WM_MOUSEWHEEL
#define WM_MOUSEWHEEL 0x020A
#endif

#ifndef WM_XBUTTONDOWN
#define WM_XBUTTONDOWN 0x020B
#endif

#ifndef WM_XBUTTONUP
#define WM_XBUTTONUP 0x020C
#endif

#ifndef WM_XBUTTONDBLCLK
#define WM_XBUTTONDBLCLK 0x020D
#endif

#ifndef WM_NCXBUTTONDOWN
#define WM_NCXBUTTONDOWN 0x00AB
#endif

#ifndef WM_NCXBUTTONUP
#define WM_NCXBUTTONUP 0x00AC
#endif

#ifndef WM_NCXBUTTONDBLCLK
#define WM_NCXBUTTONDBLCLK 0x00AD
#endif

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

- win32gui/events/controls/check_box.hpp

wrong include path, should be:
#include <win32gui/events/extend/button.hpp>
(you forgot the extend subfolder)

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

- win32gui\events\extend\button.hpp
doesn't compile, various syntax errors

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

- ... there are a lot more but i have to go away from
work now. maybe tomorrow i'll post some more

Discussion

  • Steven Weiss

    Steven Weiss - 2004-11-18
    • priority: 5 --> 9
     
  • Steven Weiss

    Steven Weiss - 2004-11-19
    • status: open --> open-fixed
     
  • Steven Weiss

    Steven Weiss - 2004-11-19

    Logged In: YES
    user_id=1124235

    great, it compiles now! thank you for your quick response to
    this bug.

    but you should update the docs, it took some time for me to
    find out that cmd_id_type doesn't exist anymore (the program
    didn't compile) and i will have to use notify_info from now on.
    for other users that surely will be confusing...

    but i like your idea with the enums, that's really great ;-)

     
  • Steven Weiss

    Steven Weiss - 2004-11-19
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.