Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Window Styles Reference
#7
Thanks for the suggestion of the act statement.

I added a button to which I set the act statement but the button is below the size of the dialog so it's invisible.

Then in each case statement I reset the act to that button again otherwise the frame would be invisible until I clicked a particular button then it would switch to the visible ones and persist. Now it shows up for just a millisecond when clicked then disappears as it resets to the invisible button.

Code:
Copy      Help
sel wParam
,act id(7 hDlg)
,case 3
,,if(but(lParam))
,,,out "PACS-Mouse ON"
,,,act id(7 hDlg)

Not elegant but it works.

Thanks,
Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)