Set Check Box in Centura

comp.databases.gupta (1995-2015)
Samuel Jackson

Set Check Box in Centura

Post by Samuel Jackson » 31 Jul 2003, 13:18

 Posted by:  Samuel Jackson <ali...@nospam.com> 

How do you set a check box in Centura when all you have is the window handle
to the check box?
Found the SalIsButtonChecked function, but couldn't find any equivelant for
setting the check box.
Using version 1.5.1-PTF2

Any help would be appreciated
Thanks

Samuel Jackson

Set Check Box in Centura

Post by Samuel Jackson » 31 Jul 2003, 13:47

 Posted by:  Samuel Jackson <ali...@nospam.com> 

Found solution in Windows SDK:
Used SalSendMsg(hWnd, BM_SETCHECK, BST_CHECKED, 0) to check it
Used SalSendMsg(hWnd, BM_SETCHECK, BST_UNCHECKED, 0) to uncheck it

In constants defined:
Number: BM_SETCHECK = 0x00F1
Number: BM_CHECKED = 0x0001
Number: BM_UNCHECKED = 0x0000

Samuel Jackson

Set Check Box in Centura

Post by Samuel Jackson » 04 Aug 2003, 19:29

 Posted by:  Samuel Jackson <ali...@nospam.com> 

lol
Sorry, no relation
But it is my real name

Pat

Set Check Box in Centura

Post by Pat » 04 Aug 2003, 21:41

 Posted by:  Pat <patric...@hotmail.com> 

Is your middle initial "L" ?

Pat

Set Check Box in Centura

Post by Pat » 04 Aug 2003, 23:32

 Posted by:  Pat <patric...@hotmail.com> 

it should be.. it'd be kool as fuck!

Return to “comp.databases.gupta”

Who is online

Users browsing this forum: [Ccbot] and 0 guests