dbTalk Databases Forums  

Set Check Box in Centura

comp.databases.gupta comp.databases.gupta


Discuss Set Check Box in Centura in the comp.databases.gupta forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Samuel Jackson
 
Posts: n/a

Default Set Check Box in Centura - 07-31-2003 , 10:18 AM






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



Reply With Quote
  #2  
Old   
Samuel Jackson
 
Posts: n/a

Default Re: Set Check Box in Centura - 07-31-2003 , 10:47 AM






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" <alii42 (AT) nospam (DOT) com> wrote

Quote:
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





Reply With Quote
  #3  
Old   
Pat
 
Posts: n/a

Default Re: Set Check Box in Centura - 08-04-2003 , 02:41 PM



Is your middle initial "L" ?

"Samuel Jackson" <alii42 (AT) nospam (DOT) com> wrote

Quote:
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" <alii42 (AT) nospam (DOT) com> wrote in message
news:traWa.16$cf.0 (AT) lakeread04 (DOT) ..
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







Reply With Quote
  #4  
Old   
Samuel Jackson
 
Posts: n/a

Default Re: Set Check Box in Centura - 08-04-2003 , 04:28 PM



lol
Sorry, no relation
But it is my real name

"Pat" <patrick_egan (AT) hotmail (DOT) com> wrote

Quote:
Is your middle initial "L" ?

"Samuel Jackson" <alii42 (AT) nospam (DOT) com> wrote in message
news:PSaWa.17$cf.3 (AT) lakeread04 (DOT) ..
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" <alii42 (AT) nospam (DOT) com> wrote in message
news:traWa.16$cf.0 (AT) lakeread04 (DOT) ..
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









Reply With Quote
  #5  
Old   
Pat
 
Posts: n/a

Default Re: Set Check Box in Centura - 08-04-2003 , 04:32 PM



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

"Samuel Jackson" <alii42 (AT) nospam (DOT) com> wrote

Quote:
lol
Sorry, no relation
But it is my real name

"Pat" <patrick_egan (AT) hotmail (DOT) com> wrote in message
news:bgmct8$nu6$1 (AT) hercules (DOT) btinternet.com...
Is your middle initial "L" ?

"Samuel Jackson" <alii42 (AT) nospam (DOT) com> wrote in message
news:PSaWa.17$cf.3 (AT) lakeread04 (DOT) ..
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" <alii42 (AT) nospam (DOT) com> wrote in message
news:traWa.16$cf.0 (AT) lakeread04 (DOT) ..
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











Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.