Mercurial > dwindows
comparison dwtest.c @ 349:5d3f2e2dcc6b
Add CRLF to lines displayed in MLE.
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 13 Apr 2003 09:04:50 +0000 |
parents | fa6aeb52d51a |
children | 2216e65ad2ae |
comparison
equal
deleted
inserted
replaced
348:fa6aeb52d51a | 349:5d3f2e2dcc6b |
---|---|
391 { | 391 { |
392 char buf[200]; | 392 char buf[200]; |
393 char *str; | 393 char *str; |
394 HWND statline = (HWND)data; | 394 HWND statline = (HWND)data; |
395 | 395 |
396 sprintf(buf,"\nDW_SIGNAL_ITEM_SELECT: Window: %x Item: %x Text: %s Itemdata: %x\n", (unsigned int)window, (unsigned int)item, text, (unsigned int)itemdata ); | 396 sprintf(buf,"DW_SIGNAL_ITEM_SELECT: Window: %x Item: %x Text: %s Itemdata: %x", (unsigned int)window, (unsigned int)item, text, (unsigned int)itemdata ); |
397 dw_window_set_text( statline, buf); | 397 dw_window_set_text( statline, buf); |
398 sprintf(buf,"\r\nDW_SIGNAL_ITEM_SELECT: Window: %x Item: %x Text: %s Itemdata: %x\r\n", (unsigned int)window, (unsigned int)item, text, (unsigned int)itemdata ); | |
398 mle_point = dw_mle_import( container_mle, buf, mle_point); | 399 mle_point = dw_mle_import( container_mle, buf, mle_point); |
399 str = dw_container_query_start(container, DW_CRA_SELECTED); | 400 str = dw_container_query_start(container, DW_CRA_SELECTED); |
400 while(str) | 401 while(str) |
401 { | 402 { |
402 sprintf(buf,"Selected: %s\n", str); | 403 sprintf(buf,"Selected: %s\r\n", str); |
403 mle_point = dw_mle_import( container_mle, buf, mle_point); | 404 mle_point = dw_mle_import( container_mle, buf, mle_point); |
404 str = dw_container_query_next(container, DW_CRA_SELECTED); | 405 str = dw_container_query_next(container, DW_CRA_SELECTED); |
405 } | 406 } |
406 return 0; | 407 return 0; |
407 } | 408 } |