Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get a list of all AutoText files in the left pane
#35
let's assume that checkbox has been assigned id 8 by the dialog editor
when show dialog returns the variable for that control will be either
"1" if checked, "0" if unchecked
in the example below the variable is c8Ope
Code:
Copy      Help
str controls = "3 4 5 6 8"
str e3 e4 cb5 lb6 c8Ope
e3="text"
e4="description"
cb5=_s
lb6=_s
if(!ShowDialog(dd 0 &controls)) ret
str s1 s2
s1=e3
s2=e4
 

the string variable c8Ope will hold the value of the checkbox

so find
Code:
Copy      Help
SendMessage(h SCI.SCI_PASTE 0 0)

and add below
Code:
Copy      Help
if(c8Ope=0)
,men 33285 _hwndqm ;;Close active item
,men 33013  _hwndqm ;;Close Qm Window

if you post your code i can show you full code example


Messages In This Thread
RE: How to get a list of all AutoText files in the left pane - by Kevin - 04-04-2019, 05:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)