FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Resedit and Bcc72
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Resedit and Bcc72
Posted: Sat Jan 28, 2017 07:54 PM
To All

I have installed Bcc72 from Bcc70 and have noticed that ResEdit will now not open resources with a DatePick or Black Frame ( used for images ). I have been working With Enrico and it appears there is an issue with Bcc72 and Resedit to resolve the below controls... However Pelles C apparently works based on Enrico's Help.

viewtopic.php?f=16&t=33542




I have a significant amount of .rc files in various projects that I have migrated to Resedit ... I was hoping someone has a work around for the Bcc72 and Resedit DatePick and Black Frame control incompatibility.

Thanks
Rick Lipkin
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Resedit and Bcc72
Posted: Sat Jan 28, 2017 09:50 PM
Solved!

Put this in the "Resource script template":

Code (fw): Select all Collapse
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "resource.h"

#define WC_TABCONTROL "SysTabControl32"
#define MONTHCAL_CLASS "SysMonthCal32"
#define WC_STATIC "Static"
#define DATETIMEPICK_CLASS "SysDateTimePick32"

//#include "%RESOURCE_HEADER%"

%RESOURCES%


Then manually add the following missing line to the RC file:

Code (fw): Select all Collapse
#define WC_TABCONTROL "SysTabControl32"
#define MONTHCAL_CLASS "SysMonthCal32"
#define WC_STATIC "Static"
#define DATETIMEPICK_CLASS "SysDateTimePick32"


EMG
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Resedit and Bcc72
Posted: Sat Jan 28, 2017 10:53 PM

Enrico

Thank you VERY much .. I will make the changes tomorrow !

Rick Lipkin

Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Resedit and Bcc72
Posted: Sun Jan 29, 2017 01:51 AM
i comment the richedit.h include



and use rc.exe for compile resource.

is not necesary mod the prsht.h

please test and comment.
Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Resedit and Bcc72
Posted: Sun Apr 09, 2017 11:19 PM

To All ... many thanks to Cristobol for finding this solution ..

Rick Lipkin

viewtopic.php?f=16t=33542p=200438#p200438

&&

Continue the discussion