Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnScreen Buttons
#1
Create a button from macro, to run another macro or function.
If name of color begins with a "*" button will get keyboard focus - then space key will press button and 'ESC' will close.
Right click on button to close.

Function 'WM_init' must be run first..


Attached Files
.qml   OnScreenButtons.qml (Size: 8.19 KB / Downloads: 289)
Reply
#2
I don't have CFont definition.
You can replace CFont to __Font.
Reply
#3
Sorry, i'm still (also) using qm 2.1.9.1
Attached file is updated.
Reply
#4
On WM_SETCURSOR, window procedure should not wait.
You can PostMessage hWnd WM_APP ..., and on WM_APP call Popupkey.
Reply
#5
Thanks, Gintaras.
I think i also can use WM_CONTEXTMENU - it seems to work..
But this was not the only problem, i tried to make the popupkey close if another window was activated.
And here the solution was to Post a WM_APP on WM_ACTIVATE.
So now it all works as it should - great !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)