Click to See Complete Forum and Search --> : How are two controls CONTGOUS?


Shahzad
May 16th, 1999, 01:47 PM
The On_Control_Range directive demand contigous controls. (if mention the first control and the end control which are contigous). The question what makes two or more controls contigous. Is it to do with resourse symbols? Please help!

Rail Jon Rogut
May 16th, 1999, 09:57 PM
Yes - their resource values must have a difference no greater than 1. In other words, in resource.h...

IDC_EDIT1 1000
IDC_EDIT2 1001
IDC_EDIT3 1002
IDC_EDIT4 1003
IDC_EDIT5 1005
IDC_EDIT6 1006

IDC_EDIT1, IDC_EDIT2, IDC_EDIT3 and IDC_EDIT4 are contiguous - with each other and IDC_EDIT5 and IDC_EDIT6 are contiguous with each other, but they aren't all contiguous because there is a difference of more than 1 between IDC_EDIT4 and IDC_EDIT5.

Rail

Recording Engineer/Software Developer
Rail Jon Rogut Software
railro@earthlink.net
http://home.earthlink.net/~railro/