Jump to content
Software FX Community

Re: Annotation Groups can't be unmodifiable


Software FX
 Share

Recommended Posts

Yes we are not understanding each other, what keys ? here is you message: 

Bug #1:

> 1) Programmatically create a text annotation object;

> 2) Set AllowModify and AllowMove to VARIANT_FALSE;

> 3) Create the chart (run);

> 4) When you first select that annotation object, try hitting delete and

see

> that nothing happens (as would be expected;)

> 5) Now click somewhere else then click on that annotation object again;

try

> hitting delete and see that you can indeed delete the object this time!

Isn't DELETE a key ?

The answer to THIS is:

1) The keys are only taken when the control has the focus, like with any

other control.

Bug #2:

1) At run time, create a text box;

2) Click inside it so you are editing the text;

3) Hit escape and the whole window stops receiving windows messages!

Isn't ESCAPE a key ?

The answer to THIS is:

2) That is some kind of incompatibility with MFC that we haven't been able

to pinpoint. It is MFC who's eating all messages this doesn't happens in any

other container. You may want to create an Accelerator for the Escape key,

this might give you some control.

I can not read your mind, so if you change the question, you have to let me

know. If what you want NOW is to stop the Delete key from deleting the

current selection, all you need to do is to create an Accelarator and

capture the Delete key in your app so that we will not receive it.

--

Frank

SFX

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...