Note: The fix can be backported to the 7 and 6.44 branches, but it may bot be worth it if noone is actually using the TMailer code - and if they do, they should have already implemented their own checks for MAPI availability.
TMailer does not work if the application bitness differs from Outlook
TMailer should not throw exception when user cancels
BUG: TMailer does not work if the application bitness differs from Outlook ([bugs:#640]).
TMailer does not work if the application bitness differs from Outlook
TMailer should not throw exception when user cancels
CHG: Minor correction in TDialogRes::InitDialogData. See comment in [bugs:#593].
OWLNext_Stable_Releases
TShellItem::TBrowseFlags are ill-defined
Merged [r8748] from trunk:
Merged [r8748] from trunk:
Merged [r8748] from trunk:
Merged [r8703] from branches/owlet:
Thanks. I have applied and tested the changes in [r8746].
CHG: TDialogRes::TDialogData: Added FontWeight, FontItalic and FontCharset properties.
CHG: TDialogRes::InitDialogData refactoring.
OWLNext_Stable_Releases
CHG: branches/6.36: Updated version number to 6.36.14 and set OWL_PRERELEASE to 1.
Merged [r8736] from branches/7:
CHG: branches/6.44: Updated version number to 6.44.29 and set OWL_PRERELEASE to 1.
Merged [r8736] from branches/7:
I tried to use AI to generate the code for this, and some of the work was done by it, but I had to make a number of corrections, including I think omitting the star in statements like (ushort)*(pControlClass + 1). The currently tested dialogs may be deceptively regular. Yeah, I am not sure the code would be handling correctly the case in which controls have extra bytes. Will need more research when I get back to this.
The GetText function is now replaced with a GetDialogData function that returns a struct with the parsed members of the dialog template.
TDialogRes::GetText crashes for extended dialog template
TDialogRes overhaul
With the changes in [r8737] the overhaul of the TDialogRes class is done for now. The class correctly handles both classic and extended templates and also retrieves the list of controls in the templates, as demonstrated in the new TDialogResTest example in the Classes project. In the future, if requested, functions for manipulating the templates can be added.
CHG: Classes: Added the dialogres.bmp file.
CHG: Classes: Added icon for the TDialogRes example.
CHG: Classes: TDialogRes test dialog is now resizable.
CHG: Classes: TDialogRes example: Display the list of controls extracted from the dialog template.
CHG: Removed deprecated TDialogRes functions.
CHG: FolderSize example: Optimized the code for assigning bitmaps to context menus. See comment in [feature-requests:#205].
Hi, Persisten streams are being deprecated and available only when using the OWL5_COMPAT define. You need to add that define to the project options. See https://sourceforge.net/p/owlnext/wiki/Replacing_the_Borland_C%2B%2B_Class_Libraries/#h-persistent-streams Also you can check and test the Pstream example under examples/pstream.
It should be possible. What errors are you encountering? Have you tried first to upgrade to OWLNext 6.44 as it is closer to legacy OWL? See also https://sourceforge.net/p/owlnext/wiki/Upgrading_from_OWL/
It should be possible. What errors are you encountering? Have you tried first to upgrade to OWLNext 6.44 as it is closer to legacy OWL?
CHG: FolderSize example: Display the perceived type of files using AssocGetPerceivedType.
CHG: FolderSize example: Set default menu item for context menus. Note: may have no visual effect under Windows 11.
Hi, This function is now totally redundant and is marked as deprecated. I am going to simply remove it in the near future, as I don't think anyone has been using it - considering the whole class was broken since forever.
CHG: Marked TPointer and TAPointer as deprecated. Will be removed in the future.
CHG: Updated TConfigFile with some of the changes from Owlet branch, including removal of usage of TAPointer.
CHG: Replaced usage of TAPointer in RichEditor example.
CHG: Replaced use of TAPointer in TTipDialog.
CHG: Added a comment clarifying why the buffer in the call to GetTemplateDescription needs to be incremented by 1.
RGR: TDocManager::SelectDocPath uses wrong buffer size.
Note: under the hood TMailer uses the MAPISendDocuments function which is marked as "The use of this function is discouraged. It may be altered or unavailable in subsequent versions of Windows." With the pending deprecation of classic Outlook and move to New Outlook, which does not support MAPI, this class may no longer be depended on in the future.
TMailer does not work if the application bitness differs from Outlook
CHG: Marked TTmpBuffer as deprecated. Will be removed in the future.
CHG: Replaced usage of TTmpBuffer in OWLExt.
CHG: Replaced TTmpBuffer in CoolPrj.
CHG: More replacements of TAPointer in OWLExt. See [feature-requests:#276].
CHG: More replacements of TAPointer in OWNext and OCFNext. See [feature-requests:#276].
CHG: Replaced usage of TAPointer in CoolPrj. See [feature-requests:#276].
CHG: Transferred more changed from Owlet [r2158]. See [feature-requests:#276].
CHG: Replaced usage of TTmpBuffer in TDialog.
CHG: Replaced usage of TAPointer in more places. See [feature-requests:#276].
CHG: Replaced usage of TAPointer in TTreeNode. See [feature-requests:#276].
CHG: Replaced usage of TAPointer in TRecentFiles. See [feature-requests:#276].
CHG: Removed old unsupported UNIX section in TPropertyPage.
CHG: Replaced usage of TAPointer in TGadgetWindow. See [feature-requests:#276].
CHG: Replaced usage of TPointer in OCFNext with std::unique_ptr. See [feature-requests:#276].
CHG: Replaced some usages of TPointer with std::unique_ptr. See [feature-requests:#276].
Many thanks, the patch works great! Path applied in [r8706].
CHG: Updated version number to 7.0.21, and set OWL_PRERELEASE to 1.
Fix: Dockable toolbar drag guide invisible or misplaced under DWM / high-DPI (Windows 8+)
BUG: Dockable toolbar drag guide invisible or misplaced under DWM / high-DPI (Windows 8+) ([bugs:#637]).
Many thanks, the patch works great!
Announcing the Availability of RAD Studio 13 Florence Update 1
I think it is a good idea to obsolete the non-standard pointers and push users towards using unique_ptr and shared_ptr.
CHG: Display the dialog styles and dialog font in the TDialogRes test example.
CHG: Added retrieval of the dialog font to TDialogRes.
BUG: Steps Tutorial example does not compile due to the DocView changes in [r8511].
CHG: TDialogRes refactoring.
CHG: Retargeted examples Visual C++ solutions to Toolset 145.
BUG: Dockable toolbar drag guide invisible or misplaced under DWM / high-DPI ([bugs:#637]).
Thanks for the fix. I applied it to the trunk and tested it on machines with both regular and high-DPI screens, and it looks good. My only concern about applying it to the 7 branch is that due to adding a new member to THarbor, that may break the ABI (Application Binary Interface) - see also https://sourceforge.net/p/owlnext/wiki/Frequently_Asked_Questions/#h-what-is-a-beta-release-and-should-i-use-it-in-production
Thanks, pushed them.
CHG: Added missing files for TDialogRes test example.
[r8650] added an example to the Classes project to test TDialogRes with both old and new dialog templates.
NEW: Added example of using TDialogRes. See also [bugs:#593].
Code fixed in [r8649].
BUG: TDialogRes::GetText crashes for extended dialog template ([bugs:#593]).
After doing some research, the code in TDialogRes seems to be complete nonsense. There is no such thing as RT_NEWDIALOG. I don't know where Borland got that idea. Instead, both old and new dialog templates are loaded using RT_DIALOG , and the way to distinguish them is by checking the first four bytes of the template. See Raymond Chen's posts. Also, the definition of DLGTEMPLATEEX was not using the correct alignment and ended being the wrong size.
RGR: Restored MENU resource in oleview.rc.
CHG: Added missing common (obsolete) resource attributes to TRcParser.
Remove MOVABLE and DISCARDABLE from resources
Changes made in [r8646].
CHG: Remove MOVABLE and DISCARDABLE from resources ([feature-requests:#275]).
Remove MOVABLE and DISCARDABLE from resources
OWLNext documentation does not build correctly with latest Doxygen
TDialogRes::GetText crashes for extended dialog template
Update old OWL tutorial example to OWLNext 8
Ability to change underline color in TRichEdit
ReplacePlus: Resizable program window
Ability to change TPaneSplitter color
A series of posts about dialog templates from Raymon Chen's blog: The evolution of dialog templates – Introduction The evolution of dialog templates – 16-bit Classic Templates The evolution of dialog templates – 32-bit Classic Templates The evolution of dialog templates – 16-bit Extended Templates The evolution of dialog templates – 32-bit Extended Templates The evolution of dialog templates – Summary
TDialogRes overhaul
Member functions for TButton messages
Remove OWL5_COMPAT from trunk