Print Thread
PlugIn help with IDE_KeyPressed please
#23413 07/27/06 09:27 PM
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Member
OP Offline
Member
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Marco,
I thought up a way to make my end of line plugin better (so that it doesn't have to copy the entire window contents each time), but I can't get IDE_KeyPressed to do vk_end with shift set to 1 (to highlight the current line. If shift = 0 I get an infinite loop (since I have my plugin mapped to the End key), so I know the procedure call works, but for any value of shift nothing happens.

Also, how does one combine values for shift inorder to get Shift + Alt? That ends up being the value for Cntrl.

Thank you.

p.s. is the problem of a plugin mapped to End/Home executing in a single line edit control being addressed in the near future?


Scott Mattes
Re: PlugIn help with IDE_KeyPressed please
#23414 07/28/06 06:08 PM
Joined: Aug 1999
Posts: 22,173
Member
Offline
Member
Joined: Aug 1999
Posts: 22,173
We will look into this and try to find a solution/fix for the upcoming 7.0.3.


Marco Kalter
Allround Automations
Re: PlugIn help with IDE_KeyPressed please
#23415 07/28/06 07:02 PM
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Member
OP Offline
Member
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Um, Marco,
Is this in reference to the problem I see with IDE_KeyPressed, or with plugin assigned to Home/End and single line edit controls?


Scott Mattes
Re: PlugIn help with IDE_KeyPressed please
#23416 07/31/06 09:49 PM
Joined: Aug 1999
Posts: 22,173
Member
Offline
Member
Joined: Aug 1999
Posts: 22,173
The End/Home issue is fixed for the next release.

We did some tests and rewrote the keypress function, but it didn't make a difference with shift-End key combo. The cursor goes to the end, but nothing is selected. I think Windows does some tricky handling of the shift to make these selections.

Anyway, you should be able to mix shift / alt / ctrl by adding the respective values (1, 2, 4).


Marco Kalter
Allround Automations
Re: PlugIn help with IDE_KeyPressed please
#23417 07/31/06 11:31 PM
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Member
OP Offline
Member
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Marco,
Thank you, but a question. With the new release will I be able to select anything using IDE_KeyPressed passing the shift-end key?

Thank you.

p.s. when is the next release due out?


Scott Mattes
Re: PlugIn help with IDE_KeyPressed please
#23418 08/01/06 09:38 PM
Joined: Aug 1999
Posts: 22,173
Member
Offline
Member
Joined: Aug 1999
Posts: 22,173
[quote]With the new release will I be able to select anything using IDE_KeyPressed passing the shift-end key?[/quote]No. As stated above, it doesn't seem to work.
[quote]p.s. when is the next release due out?[/quote]It's in beta right now. If beta feedback is okay, we can release later this month.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.028s Queries: 14 (0.010s) Memory: 2.5174 MB (Peak: 3.0394 MB) Data Comp: Off Server Time: 2024-03-29 06:24:48 UTC
Valid HTML 5 and Valid CSS