CS6::canceling a keystroke

Hi
I have an edit box that may accept only alpha characters. I added my own iplementantion of IID_IEVENTHANDLER on my kTextEditBoxWidgetBoss.
I get the event but, I do not know how to cancel, I try this code, it seems to work in windows, but it fails to mac.
how should I do it?
Thank you
bool16 CAlphaEventHandler::KeyCmd(IEvent* pEvent)
    if (pEvent == NULL )
        return kFalse ;
    const SysChar    nCharCode = pEvent->GetChar();
    if (
        ((nCharCode >= 'a' ) && (nCharCode <= 'z' ) ) ||
        ((nCharCode >= 'A' ) && (nCharCode <= 'Z' ) )
        return PlatformEditBoxEventHandler::KeyDown(pEvent); 
    pEvent->SetChar(0 );
    return PlatformEditBoxEventHandler::KeyDown(pEvent);

jcs--
Unfortunately, SetChar()'s documentation hasn't been accurate for many, many versions. Instead, just replace PlatformEditBoxEventHandler's KeyDown() with one that checks for unwanted characters and filters them out by invoking
Utils<IEventUtils>()->RemoveNextKeyCmd(pEvent)
pEvent->SetSystemHandledState(IEvent::kDontCall);
return kTrue; // indicate 'handled'
Keys that you want to keep should be passed along to the original (base class's) KeyDown() like you're doing in your code snippet above. This works on both OSes and in CS5 thru CC.
Oh, and be careful not to filter out virtual keys like left/right arrow, Enter, etc. :-)
Hope this helps.
chris

Similar Messages

  • I have cancelled my CC membership but now when I want to open PS CS6, I get a CC box saying 'Renew my Subscription'.  My CS6 is nothing to do with CC

    Hi,
    I have cancelled my CC membership but now when I want to open PS CS6, I get a CC box saying 'Renew my Subscription'.  My CS6 is nothing to do with CC and I cannot use it!  It's my work copy!  Please help Adobe!
    I have gone into Adobe Installers: nothing there to uninstall CC.  Gone into Adobe Air, nothing in there to do with CC.  How can I completely unlink my computer from any old remnants of CC?  This is my work computer.  It has to be sorted!
    Thanks.

    You might want to run the cleaner to remove all info.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • FCP7 keystroke not working correctly in PP CS6?

    Command 'R' to render out a clip?  Each time I do it Premiere Pro whips me back to the start of the timeline.  I've started up a new project, still the same issue.
    I'm wondering if Premiere Pro will have a plist file, mmm, maybe I will go look ..
    But any suggestions or warnings about using the FCP7 keystrokes in PP CS6 would be most appreciated.
    Thank you,
    Ben

    You can customize your keyboard shortcuts any way you prefer:
    Customize or load keyboard shortcuts
    http://helpx.adobe.com/premiere-pro/using/default-keyboard-shortcuts-cc.html#id_38940
    note:
    Premiere keyboard shortcut preset files have the extension '.kys'.

  • I cancelled my Creative Cloud and now my Production Premium CS6 won't work!

    When I cancelled the Creative Cloud membership by phone, I informed the Adobe rep that I intended to use our Production Premium CS6 suite instead (which we have had longer than CC.  Now I can't open anything in my CS6 suite.  It's treating it as if it was installed with CC - which it was not.  They both have the same login email address.

    You can try signing with different Adobe ID .
    or  if you wish to sign in using same email ID , try and follow below steps :
    Windows:
    Press Windows button (located between Ctrl and Alt buttons) along with R button together at a time , you will get a run command window.
    Type in below command and hit 'Enter' key.
    appdata
    Then navigate to Local>Adobe>OOBE. Open OOBE folder and delete opm.db file.
    Mac:
    1) Right click on Finder icon and  select "Go-To" Folder option.
      2) You will get a text box, type-in below command and then hit 'Return' key.( Do not miss ~ symbol)
    ~/library
    3)Then navigate to Application Support>Adobe>OOBE. Open OOBE folder and delete opm.db file.
    Then try to activate Production Premium.
    Still face same issue , try clearing SLCache Contents.
    In Windows , first enable Hidden Files and folders view, because most of the files will be hidden by default.
    Open C:drive and navigate to C:\Program Files (x86)\Common Files\Adobe.
    Open Adobe folder and locate SLCache folder and move all its contents to backup folder on Desktop . make sure SLCache is empty .
    Then try to activate Production Premium.
    Mac :
    1) Right click on Finder icon and  select "Go-To" Folder option.
      2) You will get a text box, type-in below command and then hit 'Return' key.
    ~/library
    3)Then navigate to Application Support>Adobe.
    Under Adobe folder
    locate SLCache folder and move all its contents to backup folder on Desktop . make sure SLCache is empty .
    Then try to activate Production Premium.
    If the subscription is not completely removed , sometimes it will still recognize Cancelled CC subscription and prompts error .
    You can check by signing in with different Adobe ID. 

  • Can't get CS6 standard box version to activate after cancelling CC

    I cancelled my CC subscription, it expired on June 6. I bought the design standard on disc. I used the uninstall on the old versions that were cloud based and installed the CS6 boxed version (I bought standard--the Photoshop was not the same, so I decided to install all with the boxed versions).
    Now when I try to start the Creative suite apps, they ask me to renew the CC subscription.
    I already talked to a rep last week. Did not help, just as I was being helped "the team is offline right now..."
    Then talked to another rep a few minutes ago. I was told to uninstall ALL the CC versions of apps. I did that. It still does not work.
    Is there a preference I need to delete? I am on Mac OSX 10.6.8.

    Well, you would have had to deactivate the CC apps as well... Now you can only try to delete the SLStore and PCD stuff to enforce a new activation:
    Error "Licensing has stopped working" | Mac OS
    Mylenium

  • Photoshop CS6: ACR Local Adjustment Slider Settings Retained Even When Cancelling Out of ACR

    I've come across something in Photoshop CS6's ACR 7.2, which I don't think for a moment is a bug, but just what I would consider a slightly strange way of how Photoshop CS6 behaves:
    When working on an image in ACR, if you select one of the local adjustment tabs, such as Graduated Filter, and move any of the sliders on the right-hand side, any values you change will be retained if pressing 'Cancel', then opening the image again in ACR and selecting the same tab. I find this surprising, as I would have thought that by pressing 'Cancel', any adjusted settings, since opening the image on this occasion in ACR, would not be retained.
    Furthermore, if you open another image in ACR and select the same local adjustment tab, the same settings that you adjusted in the other image have identical slider settings in that image as well.
    I can see that this behaviour could be viewed as useful, i.e. when wanting to use the same local adjustment on multiple images, as any adjustment of the local adjustment's slider settings, on their own, will have no effect unless you actually perform the selected local adjustment to the image. But, as I say, I would have expected Photoshop to simply not retain any settings you have adjusted, since opening the image on this occasion in ACR, if you don't press 'Open Image' or 'Done', and simply press 'Cancel'.
    Does anyone have any thoughts about this?

    Clearly since those settings are not actually going into the image, but are just preparation for the next pin to be dropped by the local adjustment brush (or are further adjustments done on the last pin selected), Adobe didn't see fit to revert them on Cancel.
    That said, I have to agree; if I were to botch up a bunch of settings I had before and wanted to revert them all, the first thing that would come to my mind is to hit the [Cancel] button.
    I wonder if the disparity between the ways Apple and PC software typically interacts with the user could be at the heart of this...  On PC, adjustments in a dialog are generally "staged" until an [OK] button is hit, so of course [Cancel] throws them away - while on Apple adjustments are often (by convention?) stored permanently as soon as the control is released.
    -Noel

  • Can you cancel Adobe Photoshop CS6 from one computer and put it on another?

    Can you cancel Adobe Photoshop CS6 from one computer and put it on another computer?

    Yes. You have to deactivate it on one computer and then you can install it and activate it on another. Technically, your license allows you to have Photoshop CS6 installed and activated on two computers, you just can't use both at the same time.

  • Cancelled PS CS6 subscription copy won't let me enter my retail serial number

    I bought a Photoshop CS6 subscription a week ago, then decided I'd rather have the retail version. I have the appropriate retail copy, with a serial number in the box.
    I called Adobe to cancel my subscription, and it's marked as cancelled now, though the cancellation email says I can continue using the subscription until next month.
    I deactivated Photoshop, expecting that I'd then be able to enter my retail serial number, but when I try to license it, it doesn't even let me enter a serial number - it just detects the (just cancelled today, but still active) subscription and says thanks very much.
    I'd like to enter my retail serial number without waiting a month for the cancelled subscription to fully go away.
    I appreciate that this isn't exactly a terrible problem to have, and it's not a big deal. But is there any way to force it to let me enter my serial number, even though the subscription is still active? I'd prefer to avoid uninstalling the downloaded subscription copy, and reinstalling from the (ugh) DVD in the retail box - especially if that one will just pick up the subscription too!

    I found the answer myself:
    1. Deactivate Photoshop (via its Help menu) over the internet.
    2. Quit and relaunch Photoshop. It will now think it's the Photoshop Extended Trial version, and it'll ask to register the trial with your Adobe account. Don't do that.
    3. Quit and relaunch Photoshop again. It will say you have 30 days left in your trial, and you can either click the "License" button or "Continue Trial". First, disconnect from the internet (switch off your computer's wifi, or such - make sure there's no internet connection).
    4. Click "License". It will fail to connect to Adobe, and will then give you an "Enter Serial Number" option.
    5. Enter your serial number, reconnect to the internet, and submit the serial number. Let it register the serial number to your Adobe Account online.
    6. Quit and relaunch Photoshop one more time, and you're done. Your Adobe Account online will show your new Photoshop serial number as registered.
    Whew. But at least there was no need to wait a month, or to uninstall/reinstall.

  • If I cancel CC, is my CS6 still valid and usable?

    Hi all,
    I have some short questions.
    I have today a full CS6 license.
    If I buy a CC membership, could I still use my CS6 applications?
    Also, If I cancel my CC membership, is my CS6 licenses still valid and usable?
    I want to be sure that the day I decide to cancel my CC, I cab stil use CS6... :-)
    It's not clear for me so far...
    In the same way, I want to be sure that I can use both CC AND CS6 at the same time.
    (on the same computer or, on different one; as CC on my iMac and CS6 on my Macbook)
    In advance, that you for your help!
    Xavier from Switzerland

    If you own a license for CS6 you own it for life.  Machine capabilities might advance beyond being able to use it, but you always have it.
    If you have a full CC subscription it includes the option to install CS6 software but that software is part of the CC subscription, so if the subscription ends so does the use of the CC-acquired versions.  Your licensed software still remains useable if you end the subscription.
    As far runing both CC and CS together, it should be possible, though in my case CC decided to assume control of my suite programs to an extent where it changed how they are set up.  So I can't answer regarding how things get along when you mix them in the same system.

  • Can I get CS6 and cancel CC?

    I got CS6 through creative cloud, and now with the new CC updates, many of the features that I rely on are no longer supported.
    How can I get CS6 back, and then cancel CC?

    Avi,
    You should be able to do it by uninstalling, running the Cleaner Tool, and reinstalling as you did when you first installed CS6, then run the updates.
    http://www.adobe.com/support/contact/cscleanertool.html
    But you may ask further in the CC forum area:
    http://forums.adobe.com/community/creative_cloud

  • How to Convert back to CS5.5 after cancellation of Creative Cloud CS6

    I have subscribed to cloud for use and trial, however I am purchasing CS5.5 since I found it so great, but still can't afford the cs6.  My question is about the documents i made in premiere pro cs6, and the ones that were converted to CS6 from my earlier version previously used (CS4).  How do I get those back to former versions so I can edit and use them again after cancelation of creative cloud cs6?
    I have a whole lot of Premiere Pro and Aftereffect docs that I edited and hence were converted during use of the CS6 Cloud, but now I NEED them back to either CS5.5 (which I am purchasing today), or at the very least my CS4.

    It's a circular thing: You need AE CS6 to save back to CS5.5, so unless you stil lhave a working CS6 version, there's no way to convert. Premiere Projects are generally not backward compatible, but I could be wrong. I don't use Premiere that often and may be missing something...
    Mylenium

  • Academy of Art Cancels CS6 for all current and PAST students. I don't want the cloud. I've been robbed!

    Adobe and the Academy of Art University are in the process of canceling thousands of registered copies of the Adobe Master Collection - v. CS6 without warning, notice, or legal grounds. Be warned.
    It's a direct violation of the licensing agreement, and both parties are blaming each other for the theft. I know they are canceling the serial numbers in batches, and I think it is an attempt to dampen the public perception. I am also pretty convinced they are doing it at other universities. I am going to organize a class-action lawsuit. This is theft, and coercion, of the highest order. The think they can force us to use Cloud, and pay them for eternity for the privilege, by stealing our property directly off our laptops.
    Adobe is attacking their precious newbies, students, and recent graduates. They are harming the very people who would have supported them in future years, and they should be held accountable.
    facebook.com/adobesteals
    Please join us. We will only make waves in numbers. Get the word out.

    Before the big announcement about our licenses, which is supposedly happening today, I wanted to do a recap of facts that we have gathered over the last three weeks so we can easily review our position as a group.
    1.) Between May 2012 and August 2014, the Academy of Art University granted students permanent licenses, for CS6 Master Collection. We have documented proof that we were told, in writing, that these licenses would never expire and all forms of professional and student work were permitted. In fact, we have several sources for this claim, and it is not in dispute.
    2.) We were given stand-alone, non-subscription based software, which appears to be the last possible independent version of Adobe’s software suite.
    3.) License cancellation began in June 2014, occurring in waves, with the largest set of cancellations (and presumed final batch) occurring around August 3rd, 2014. There was no warning, and no one was prepared to endure the changes or impending costs associated with the theft. Many, in desperation to keep their jobs, were forced to pay the ransom and join Creative Cloud against their personal will.
    4.) Adobe blames AAU for the cancellations, with no details as to why, except for a clear direction to only contact AAU about the issue as they will not assist us or explain their reasoning. We have a plethora of sources for this claim.,
    5.) The acting school director of AAU told me, Sarah Ryan, directly, that she had “no previous knowledge this would happen.” She even went on to claim “shock” at the turn of events. Therefore while Adobe blames AAU squarely, AAU is claiming complete and total ignorance. I personally find this highly suspicious given the well-orchestrated plan to support Adobe in an advertising campaign, using AAU student work, and AAU real estate. This joint campaign was organized months before the cancellations took place. AAU and Adobe are in a public business relationship. It is self-evident and their joint campaign took preparation, well before the theft of our software, and subsequent push towards adopting the very product on the advertisements. This makes the claim of ignorance absurd, and insulting to all involved.
    6.) The licenses installed on our computers make no reference to our software being time limited, revocable, or even student editions. We have read them, with lawyers. Again, written, documented proof.
    7.) Adobe will not show us proof that the cancellations were valid. They will not produce any documentation or make any public announcements. In fact I have, in writing, from customer support at Adobe, that no such document exists to prove the time limitation of my software - because there isn't such language anywhere.
    8.) AAU will not produce any documentation to support their position to force the adoption of Creative Cloud for current,or past students. They will not prove the terms of the licensing contract with Adobe either. The only public announcement that was made offered no details on how they would support us at all, let alone defend our consumer rights.
    9.) AAU’s acting director, Sue Rowley, is publicly telling student reps that we, the students, need to support Adobe’s financial model. This is a direct conflict of interest. Her job is to lead our university and support students seeking higher education. She has instead publicly stated her allegiance and support for a billion dollar company’s marketing strategy. She empathizes with it, and went as far as to tell me I should "want" Creative Cloud. This conflict of interest deserves recognition and investigation.
    10.) George Brown College also had their CS6 licenses revoked by Adobe in a similar turn of events. That college was able to have the license keys returned to students, after applying pressure to Adobe on behalf of their student body. AAU has been made aware of this fact, and has not replied to it.
    11.) Friday August 26th, 2014 AAU was meant to release a statement about “options” for “alumni (only)” which was never released. Licensure was not dependent upon graduation status at the time it was conveyed, making this statement confusing. AAU canceled their plans to finally make a statement (after nearly one month of requests) and we are still left with no answers.
    12.) A Creative Cloud subscription will cost 600$ annually, per person, with raises in rates yearly, for life. This unexpected cost is too much for many to bear, putting their livelihoods in risk.
    In conclusion:
    We had a contract. Adobe (and possibly AAU) broke it. AAU has done nothing to defend us, and may be complicit in our misfortune. Students are being fed information that is not rooted in the facts, or relevant to the simple issue at hand. AAU attempts to distract us with irrelevant topics and details.
    We all had software, which people depend on to make a living, and earn an education. It was stolen without warning, and it has not been returned. It was deactivated from personal computers without their consent. People have lost time, money, opportunities, and in a few cases housing as a result.
    Don’t get distracted by the spin, or the superfluous details. This is robbery and people have been massively impacted by it – financially, emotionally, and creatively.

  • I bought Photoshop CS6 in 2nd hand market and it was already registered in pre-owner's account how can cancel this and move to my account?

    I bought Photoshop CS6 in 2nd hand market and it was already registered in pre-owner's account how can cancel this and move to my account?

    Hi Syjung,
    The previous owner needs to transfer the license by filling the below form.
    http://helpx.adobe.com/x-productkb/policy-pricing/transfer-product-license/_jcr_content/ma in-pars/procedure_2/proc_par/step_0/step_par/download/file.res/Transfer%20of%20License%20F orm.pdf
    Thanks

  • Is there a way to view the progress of and/or cancel a lengthy background save in CS6?

    I had a situation where I had to quit Photoshop immediately, but it wouldn’t let me because a background save was in progress.  I don’t like killing a program with the Task Manager during a write operation,
    but that’s what I had to do.
    If there’s a way to cancel a lengthy background save or to view its progress, I haven’t found it yet.  There needs to be a way to do this.

    Yes, look at the bottom of the image window where you see the progress of the save, there is a little "x" click that and the save is aborted.
    Hope this helps, and hopefully it is a gracefeul cancel
    MK

  • I first had CS6 and then was given a special offer on CC. Now I have cancelled CC and would like to reinstall CS6.  How do I do this?

    I wonder if I have to uninstall it all first. That, or CC could extend that offer of $9.99 month for the first year of CC.  Otherwise, I want to use what I have already invested in and need access too asap.  If anyone can help. I dread having to uninstall everything, it seems like it would be like just updating I still have my key

    You did not have to uninstall CS6 to begin with if that is what you did.  If you want to use CS6 again and you did uninstall it then you will have to reinstall it.

Maybe you are looking for