Back to the WFC main page
wfc_append_text_to_edit_control
$Revision: 4 $
Declaration
void wfc_append_text_to_edit_control( void )
Description
This function appends a string to an edit control.
Example
void add_time( HWND edit_control_handle )
{
WFCTRACEINIT( TEXT( "add_time()" ) );
CTime the_time = CTime::GetCurrentTime();
CString time_string;
time_string = the_time.Format( TEXT( "%Y-%m-%dT%H:%M:%S" ) );
wfc_append_text_to_edit_control( edit_control_handle, time_string );
}
API's Used
wfc_append_text_to_edit_control() uses the following API's:
- GetWindowTextLength
- SendMessage
- SetFocus
Copyright, 2000, Samuel R. Blackburn
$Workfile: wfc_append_text_to_edit_control.cpp $
$Modtime: 1/17/00 9:31a $