Skip to content

Commit

Permalink
Make drag'n'drop to programs like Total Commander and FileZilla work …
Browse files Browse the repository at this point in the history
…if data is provided delayed.

Prepared release of version 1.5.5.
  • Loading branch information
TimoKunze committed Apr 26, 2019
1 parent 2448516 commit 9dcad1f
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 20 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 1.5.5 - 27/04/2019

- FIX: Dragging data to certain programs like Total Commander or FileZilla did not work if the data was provided only in the OLESetData event.



Version 1.5.4 - 22/01/2018

- Upgraded to WTL 10.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2009-2018 Timo Kunze
Copyright (c) 2009-2019 Timo Kunze

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align=center>
<a href="https://github.com/TimoKunze/ComboListBoxControls/releases/tag/1.5.4">
<img alt="Release 1.5.4 Release" src="https://img.shields.io/badge/release-1.5.4-0688CB.svg">
<a href="https://github.com/TimoKunze/ComboListBoxControls/releases/tag/1.5.5">
<img alt="Release 1.5.5 Release" src="https://img.shields.io/badge/release-1.5.5-0688CB.svg">
</a>
<a href="https://github.com/TimoKunze/ComboListBoxControls/releases">
<img alt="Download ComboListBoxControls" src="https://img.shields.io/badge/download-latest-0688CB.svg">
Expand Down
2 changes: 1 addition & 1 deletion help/ANSI/Doxygen/private docs CHM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion help/ANSI/Doxygen/private docs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion help/ANSI/Doxygen/public docs CHM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion help/ANSI/Doxygen/public docs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion help/Unicode/Doxygen/private docs CHM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion help/Unicode/Doxygen/private docs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion help/Unicode/Doxygen/public docs CHM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion help/Unicode/Doxygen/public docs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROJECT_NAME = "TimoSoft ComboListBoxControls"
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 1.5.4.199
PROJECT_NUMBER = 1.5.5.201

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
2 changes: 1 addition & 1 deletion src/CBLCtlsA.idl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/// <pre>
/// MIT License
///
/// Copyright (c) 2009-2018 Timo Kunze
/// Copyright (c) 2009-2019 Timo Kunze
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/CBLCtlsU.idl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
/// <pre>
/// MIT License
///
/// Copyright (c) 2009-2018 Timo Kunze
/// Copyright (c) 2009-2019 Timo Kunze
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 10 additions & 2 deletions src/SourceOLEDataObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,16 @@ STDMETHODIMP SourceOLEDataObject::QueryGetData(FORMATETC* pFormat)

if(!pDataEntry->pData) {
if(secondChance) {
// format not supported
return DV_E_FORMATETC;
if(properties.pOwnerDCBox && properties.pOwnerDCBox->dragDropStatus.IsDragging()) {
return S_OK;
} else if(properties.pOwnerICBox && properties.pOwnerICBox->dragDropStatus.IsDragging()) {
return S_OK;
} else if(properties.pOwnerLBox && properties.pOwnerLBox->dragDropStatus.IsDragging()) {
return S_OK;
} else {
// format not supported
return DV_E_FORMATETC;
}
}

// raise the OLESetData event
Expand Down
2 changes: 1 addition & 1 deletion src/res/CBLCtls.rc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ BEGIN
#else
VALUE "InternalName", "CBLCtlsA.ocx"
#endif
VALUE "LegalCopyright", "Copyright (C) 2009-2018 Timo ""TimoSoft"" Kunze"
VALUE "LegalCopyright", "Copyright (C) 2009-2019 Timo ""TimoSoft"" Kunze"
#ifdef _UNICODE
VALUE "OriginalFilename", "CBLCtlsU.ocx"
#else
Expand Down
8 changes: 4 additions & 4 deletions src/res/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

#define VERSION_MAJOR 1
#define VERSION_MINOR 5
#define VERSION_REVISION1 4
#define VERSION_REVISION1 5
#define VERSION_REVISION2 0
#define VERSION_BUILD 199
#define STRFILEVERSION "1.5.4.199"
#define VERSION_BUILD 201
#define STRFILEVERSION "1.5.5.201"
#define STRPRODUCTVERSION "1.5"
#define STRTIMESTAMP "2018/01/22 01:13:27"
#define STRTIMESTAMP "2019/04/27 00:04:42"

#define IDB_COMBOBOX 1
#define IDB_DRIVECOMBOBOX 2
Expand Down

0 comments on commit 9dcad1f

Please sign in to comment.