Silverfrost Forums

Welcome to our forums

Are there restricted Hot Key sequences?

8 Mar 2020 11:23 #25052

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.

9 Mar 2020 8:22 #25056

I can test this out if you will post a simple sample program.

9 Mar 2020 11:05 #25067

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.

	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
10 Mar 2020 7:43 #25069

I will take a look at it.

11 Mar 2020 2:19 #25080

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.

11 Mar 2020 7:30 #25083

This is good to know. I can stay away from those easily!

12 Mar 2020 1:31 #25086

The above acceleration keys will be included in the next release of ClearWin+.

Please login to reply.