Resedit and Bcc72

Resedit and Bcc72

Postby Rick Lipkin » Sat Jan 28, 2017 7: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

Image
Image

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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Resedit and Bcc72

Postby Enrico Maria Giordano » Sat Jan 28, 2017 9:50 pm

Solved!

Put this in the "Resource script template":

Code: Select all  Expand view
#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: Select all  Expand view
#define WC_TABCONTROL "SysTabControl32"
#define MONTHCAL_CLASS "SysMonthCal32"
#define WC_STATIC "Static"
#define DATETIMEPICK_CLASS "SysDateTimePick32"
 


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Resedit and Bcc72

Postby Rick Lipkin » Sat Jan 28, 2017 10:53 pm

Enrico

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

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Resedit and Bcc72

Postby carlos vargas » Sun Jan 29, 2017 1:51 am

i comment the richedit.h include

Image

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)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Resedit and Bcc72

Postby Rick Lipkin » Sun Apr 09, 2017 11:19 pm

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

Rick Lipkin

viewtopic.php?f=16&t=33542&p=200438#p200438
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests