forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Are there restricted Hot Key sequences?

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Mon Mar 09, 2020 12:23 am    Post subject: Are there restricted Hot Key sequences? Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon Mar 09, 2020 9:22 am    Post subject: Reply with quote

I can test this out if you will post a simple sample program.
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Tue Mar 10, 2020 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue Mar 10, 2020 8:43 am    Post subject: Reply with quote

I will take a look at it.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Mar 11, 2020 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Wed Mar 11, 2020 8:30 pm    Post subject: Reply with quote

This is good to know. I can stay away from those easily!
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Mar 12, 2020 2:31 pm    Post subject: Reply with quote

The above acceleration keys will be included in the next release of ClearWin+.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group