View previous topic :: View next topic |
Author |
Message |
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Mon Mar 09, 2020 12:23 am Post subject: Are there restricted Hot Key sequences? |
|
|
No matter how I try, I cannot get the CTRL+SHIFT+I used in a %mn to work. Its "sister" CTRL+SHIFT+E works.
CTRL+SHIFT+I may be one that can be used only by Windows and may not be re-assignable. Might there be others? It is difficult to find any information in the Windows documentation of this, if it is the case. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Mar 09, 2020 9:22 am Post subject: |
|
|
I can test this out if you will post a simple sample program. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Tue Mar 10, 2020 12:05 am Post subject: |
|
|
I was able to trim the code down.
Both CTRL+SHIFT+I and CTRL+SHIFT+E should result in a negative return value and close the window. Only CTRL+SHIFT+E does that.
Code: |
winapp
program cmain
use mswin
integer:: i
integer(kind=7),external:: button1,button2
i = winio@('%ww&')
i = winio@('%mn[LithoLog[CSV[Import CSV^Ctrl+Shift+I]]]&',button1)
i = winio@('%mn[[[Export CSV^Ctrl+Shift+E]]]&',button2)
i = winio@(' This is a test&')
iopt = winio@(' ')
print *,iopt
end
INTEGER(KIND=7) FUNCTION BUTTON1()
BUTTON1= -1
RETURN
END
INTEGER(KIND=7) FUNCTION BUTTON2()
BUTTON2= -2
RETURN
END
|
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue Mar 10, 2020 8:43 am Post subject: |
|
|
I will take a look at it. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Wed Mar 11, 2020 3:19 pm Post subject: |
|
|
The keys that don't work are:
Ctrl+Shift+H
Ctrl+Shift+I
Ctrl+Shift+L
Ctrl+Shift+M
These correspond respectively to VK_BACK, VK_TAB, VK_CLEAR and VK_RETURN.
At the moment it is not clear to me whether this is a ClearWin+ restriction or something that is inherited from Microsoft. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Wed Mar 11, 2020 8:30 pm Post subject: |
|
|
This is good to know. I can stay away from those easily! |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Thu Mar 12, 2020 2:31 pm Post subject: |
|
|
The above acceleration keys will be included in the next release of ClearWin+. |
|
Back to top |
|
|
|