1. RE: LimitText
- Posted by Brian Broker <bkb at cnw.com> Apr 11, 2002
- 365 views
Hi Jonas, Congrats, you found a bug! The value of EM_LIMITTEXT is correct, the problem is with the sendMessage: VOID = sendMessage( id, lMsgType, NULL, pSize ) should be: VOID = sendMessage( id, lMsgType, pSize, NULL ) -- Brian Jonas Temple wrote: > Derek, > > It seems that LimitText is not working. I looked at the routine in > win32lib and it seems to be coded correctly but I could not verify the > value of EM_LIMITTEXT as I do not have a windows.h here. > > Could you verify that? > > Thanks! > > Jonas > >
2. RE: LimitText
- Posted by Jonas Temple <jktemple at yhti.net> Apr 11, 2002
- 360 views
Brian, Thanks! That did the trick! I even looked at the M$ doc and didn't see that one! Jonas Brian Broker wrote: > Hi Jonas, > > Congrats, you found a bug! The value of EM_LIMITTEXT is correct, the > problem is with the sendMessage: > > VOID = sendMessage( id, lMsgType, NULL, pSize ) > > should be: > > VOID = sendMessage( id, lMsgType, pSize, NULL ) >
3. RE: LimitText
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 11, 2002
- 362 views
Thanks guys. It is now fixed. I've been away from home all week and I don't have the SDK loaded on my laptop. -----Original Message----- From: Brian Broker [mailto:bkb at cnw.com] Subject: RE: LimitText Hi Jonas, Congrats, you found a bug! The value of EM_LIMITTEXT is correct, the problem is with the sendMessage: VOID = sendMessage( id, lMsgType, NULL, pSize ) should be: VOID = sendMessage( id, lMsgType, pSize, NULL ) -- Brian Jonas Temple wrote: > Derek, > > It seems that LimitText is not working. I looked at the routine in > win32lib and it seems to be coded correctly but I could not verify the > value of EM_LIMITTEXT as I do not have a windows.h here. > > Could you verify that? > > Thanks! > > Jonas > >