15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Clipboard access in CFormView derived class

Arshad Hussain -- AHussain@ONSALE.com
Thursday, March 06, 1997

Environment: VC++ 4.2-flat, NT 3.51

I have a class derived from CFormView(using a dialog template).  When I
run the application, I am not able to use the clipboard (cut, copy,
paste, etc) in the Edit controls.  When I test the dialog in the Dialog
Editor, it's just fine.  Do any properties need to be set?

TIA.

Arshad
-- 
      ______________________________
     /  Mohammed Arshad Hussain     |
    /   ONSALE Inc.                 |
   /    (http://www.onsale.com)     |
   | 00 1957 Landings Drive,        |
   | 00 Mountain View, CA 95050     |
   \    Tel: 415-428-0600 x222,     |
    \   Fax: 415-964-8160           |
     \_ mailto:ahussain@onsale.com _|




Paul Gerhart -- pgerhart@voicenet.com
Sunday, March 09, 1997

[Mini-digest: 3 responses]

Arshad Hussain wrote:
> 
> Environment: VC++ 4.2-flat, NT 3.51
> 
> I have a class derived from CFormView(using a dialog template).  When I
> run the application, I am not able to use the clipboard (cut, copy,
> paste, etc) in the Edit controls.  When I test the dialog in the Dialog
> Editor, it's just fine.  Do any properties need to be set?
> 
> TIA.
> 
> Arshad
> --
>       ______________________________
>      /  Mohammed Arshad Hussain     |
>     /   ONSALE Inc.                 |
>    /    (http://www.onsale.com)     |
>    | 00 1957 Landings Drive,        |
>    | 00 Mountain View, CA 95050     |
>    \    Tel: 415-428-0600 x222,     |
>     \   Fax: 415-964-8160           |
>      \_ mailto:ahussain@onsale.com _|


You may be having the same problem I ran into. See
Q145616
at the KB. It is relevant to apps with CEdits in a CFormView.
In essence you need to remove the accelerator keys definitions.
Read Q145616.

Hope it helps.


-- 
#########################
# Paul Gerhart          #
# pgerhart@voicenet.com #
#########################
-----From: "Kenneth A. Argo" 


------ =_NextPart_000_01BC2D37.71502420
Content-Type: text/plain; charset="us-ascii"




Become an MFC-L member | Вернуться в корень Архива |