Hello, All

1. RICHEDIT ( no right MENUITEM )
//////////////////////////////////////////////////////////////////////////////////////////
CONTROL "",IDC_EDIT1,"RICHEDIT",ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_SYSMENU | WS_BORDER | WS_VSCROLL | WS_TABSTOP,1, 10, 328, 80
//////////////////////////////////////////////////////////////////////////////////////////

2. EDITTEXT ( right MENUITEM )
//////////////////////////////////////////////////////////////////////////////////////////
EDITTEXT IDC_EDIT1, 1, 10, 328, 80, ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_BORDER | WS_VSCROLL | WS_TABSTOP
//////////////////////////////////////////////////////////////////////////////////////////

if i use the MENUITEM of right mouse in "RICHEDIT", Must i do it self?

regards
Posted on 2006-01-02 09:25:06 by dcskm4200
I'm not sure if I understand your question, but you need to use WM_CONTEXTMENU to know when to display a popup menu.
Posted on 2006-01-02 16:51:04 by mikes
Hello,mikes
thanks you.
I want to use default MENUITEM in "RICHEDIT", as it is in EDITTEXT.
default MENUITEM:

Undo
------
cut
copy
paste
delete
------
select all
------
...


regards
Posted on 2006-01-02 19:15:57 by dcskm4200
I think you'll find what you're looking for here ;)

http://win32assembly.online.fr/tut34.html
Posted on 2006-01-03 01:07:26 by lone_samurai5
hello,lone_samurai5
Thanks you.
That means I must do it self in "RICHEDIT". but i did nothing in EDITTEXT, there are the "MENUITEM" of right mouse.
for example:

regards
Attachments:
Posted on 2006-01-03 02:02:43 by dcskm4200
Yeah we have to do it on our own for richedit, fortunately for edit controls we don't have to do it manually. Sorry don't know why its that way.
Posted on 2006-01-03 03:05:11 by lone_samurai5