12-23-2007, 08:27 PM
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.
Not elegant but it works.
Thanks,
Stuart
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.
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