gailp
asked on
Handle cut & paste in a dialog window
how should I handle cut & paste in a dialog windows edit text controls?
void do_edit_cmds(short the_item)
{
switch( the_item )
{
case editUNDO:
if(SystemEdit( the_item - 1) )
;
break;
case editCUT:
if(SystemEdit( the_item - 1) )
;//SysBeep(10);
break;
case editCOPY:
if(SystemEdit( the_item - 1) )
;
break;
case editPASTE:
if(SystemEdit( the_item - 1) )
;
break;
case editCLEAR:
if(SystemEdit( the_item - 1) )
;
break;
case editSELECT_ALL:
if(SystemEdit( the_item - 1) )
;
break;
case editPREFERENCE:
Handle_Preferences();
break;
}
}
void do_edit_cmds(short the_item)
{
switch( the_item )
{
case editUNDO:
if(SystemEdit( the_item - 1) )
;
break;
case editCUT:
if(SystemEdit( the_item - 1) )
;//SysBeep(10);
break;
case editCOPY:
if(SystemEdit( the_item - 1) )
;
break;
case editPASTE:
if(SystemEdit( the_item - 1) )
;
break;
case editCLEAR:
if(SystemEdit( the_item - 1) )
;
break;
case editSELECT_ALL:
if(SystemEdit( the_item - 1) )
;
break;
case editPREFERENCE:
Handle_Preferences();
break;
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank You for your help.