IonicWind Software

Aurora Compiler => Coding Help - Aurora 101 => Topic started by: Vikki on November 30, 2006, 11:41:20 AM

Title: #define
Post by: Vikki on November 30, 2006, 11:41:20 AM
Next problem...

I'm trying to get SendMessage to work. My first problem with this is that I get a compile error on one of my #define's

#define TCS_EX_FLATSEPARATORS &H1
#define TCM_FIRST &H1300
#define TCM_SETEXTENDEDSTYLE TCM_FIRST+52

on the last item I get an unsupported operation error

I looked through the help and saw that there are places in there that show adding two things together so I'm not sure what I'm doing wrong.

When I try to use the SendMessage function I get an undeclared function error...I'll leave it there right now because I do have one other issue but that might be solved by solving this issue. :)
Title: Re: #define
Post by: LarryMc on November 30, 2006, 11:46:38 AM
try this

#define TCM_SETEXTENDEDSTYLE (TCM_FIRST+52)
Title: Re: #define
Post by: ExMember001 on November 30, 2006, 11:49:57 AM
replace &h by 0x
Title: Re: #define
Post by: Vikki on November 30, 2006, 11:51:57 AM
Thanks guys! Both solutions make that work! weehoo!  ;D