Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3257

PB Classic 64 Bit Menu Shortcut Keys Stop Working

$
0
0

Good Day!

 

When my application is compiled as 32 bit, this issue does not occur. It only occurs in a 64 bit EXE. My application is using the PFC, so my Edit Cut, Copy and Paste are mapped to shortcuts CTRL-X, CTRL-C and CTRL-V, respectively. The DataWindow in use is u_dw.

 

If I select text in u_dw, I can CTRL-X the data and then CTRL-V it just fine... until I change a field which opens any kind of dialog. For example, if I CTRL-X some data and then CTRL-V it, then enter the letter 'a' into a date field, I get the expected error message about the data field not having valid data. When I clear the dialog then ESC out, I can no longer CTRL-V the data.

 

It's weird because if I open another screen in my application, close it, then CTRL-V in my original screen, the data pastes just fine. I thought it was a focus issue, but I do not think so. However, when I place a diagnostic MessageBox in my m_paste event, once that date field error is cleared, CTRL-V no longer even triggers m_paste. Yes, the shortcut for m_paste is CTRL-V.

 

Again, the 32 bit EXE works fine. Any ideas why the 64 bit EXE would have this issue? I even tried killing as many processes in my OS as possible just in case another app was catching my keystrokes. To no avail. I also check all key-driven events in u_dw and my base window... again, what is happening?

 

Any help is appreciated. Thanks!


Viewing all articles
Browse latest Browse all 3257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>