folderbrowser_internal.h 864 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef NULLOSFT_MEDIALIBRARY_FOLDERBROWSER_CONTROL_INTERNAL_HEADER
  2. #define NULLOSFT_MEDIALIBRARY_FOLDERBROWSER_CONTROL_INTERNAL_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <windows.h>
  7. #include "./ml_ipc_0313.h"
  8. #include "../nu/trace.h"
  9. #ifndef LONGX86
  10. #ifdef _WIN64
  11. #define LONGX86 LONG_PTR
  12. #else /*_WIN64*/
  13. #define LONGX86 LONG
  14. #endif /*_WIN64*/
  15. #endif // LONGX86
  16. #define COLUMN_DEFAULT_WIDTH 120
  17. #define COLUMN_MIN_WIDTH 48
  18. #define COLUMN_MAX_WIDTH 640
  19. #define COLUMN_EXTRALSPACE 32
  20. #define SIZER_WIDTH 0
  21. #define SIZER_OVERLAP_LEFT 1 // how many pixels sizer steels from neighbors
  22. #define SIZER_OVERLAP_RIGHT 3 // how many pixels sizer steels from neighbors
  23. #define FBIS_SELECTED 0x00000001
  24. #define FBIS_HIGHLIGHTED 0x00000002
  25. #endif //NULLOSFT_MEDIALIBRARY_FOLDERBROWSER_CONTROL_INTERNAL_HEADER