Make sure the export dialog is large enough. Fix a Unicode issue while

we're at it.

svn path=/trunk/; revision=17754
This commit is contained in:
Gerald Combs 2006-03-28 23:06:11 +00:00
parent 9734da71a8
commit 0c92125f1b
2 changed files with 7 additions and 7 deletions

View File

@ -652,9 +652,9 @@ format_handle_wm_initdialog(HWND dlg_hwnd, print_args_t *args) {
/* Set the "Packet details" combo */
cur_ctrl = GetDlgItem(dlg_hwnd, EWFD_PKT_DETAIL_COMBO);
SendMessage(cur_ctrl, CB_ADDSTRING, 0, (LPARAM) (LPCTSTR) "All collapsed");
SendMessage(cur_ctrl, CB_ADDSTRING, 0, (LPARAM) (LPCTSTR) "As displayed");
SendMessage(cur_ctrl, CB_ADDSTRING, 0, (LPARAM) (LPCTSTR) "All expanded");
SendMessage(cur_ctrl, CB_ADDSTRING, 0, _T("All collapsed"));
SendMessage(cur_ctrl, CB_ADDSTRING, 0, _T("As displayed"));
SendMessage(cur_ctrl, CB_ADDSTRING, 0, _T("All expanded"));
switch (args->print_dissections) {
case print_dissections_none:

View File

@ -88,13 +88,13 @@ FONT 8, "MS Shell Dlg"
LTEXT "-", EWFD_PTX_ELAPSED, 211, 79, 150, 8
}
// XXX - The width value appears to have no effect, at least on Windows XP.
// yes, this seems to be a bug, see:
// http://softwareforums.intel.com/ids/board/message?board.id=5&message.id=7382
ETHEREAL_EXPORTFILENAME_TEMPLATE DIALOG 0, 0, 5000, 97
ETHEREAL_EXPORTFILENAME_TEMPLATE DIALOG 0, 0, 319, 97
STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | DS_3DLOOK | DS_CONTROL
FONT 8, "MS Shell Dlg"
{
// Provide hints for dialog layout and size
LTEXT "", stc32, 1, 1, 250, 0
GROUPBOX "Packet Range", -1, 5, 2, 210, 90
CONTROL "Captured", EWFD_CAPTURED_BTN, "Button", BS_AUTORADIOBUTTON | WS_GROUP, 110, 13, 45, 10