MFC string table 手动 设置

MFC string table 手动 设置

vc6 中

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_TAB_CLIENTS         "Client's list"
    IDS_TAB_CLIENTSCOM      "Modbus communications"
    IDS_COL_TIME            "Time"
    IDS_COL_MESSAGE         "Message"
    IDS_TXT_FILE_EXT        "*.Txt"
    IDS_TXT_FILE_FLT        "Text Files (*.txt)|*.txt|All Files (*.*)|*.*||"
    IDS_MSG_SAVE_AS_FAILED  "Unable to create file %s.  Operation failed."
    IDS_PRINT_EMPTY_LIST    "The selected list is empty and can't be printed."
END

visual 2017 中

STRINGTABLE
BEGIN
    IDS_COM_SERVER          "Server"
    IDS_COM_CLOSE           "Connection closed by server."
    IDS_CLIENT_SIGN_OUT     "Disconnected from server. (Sign out)"
    IDS_EMPTY_LIST          "There are no items to show in this view."
    IDS_TAB_CLIENTSCOM      "Modbus communications"
    IDS_PRINT_EMPTY_LIST    "The selected list is empty and can't be printed."
    IDS_COL_TIME            "Time"
    IDS_COL_FROM            "From"
    IDS_COL_MESSAGE         "Message"
    IDS_TXT_FILE_EXT        "*.Txt"
    IDS_TXT_FILE_FLT        "Text Files (*.txt)|*.txt|All Files (*.*)|*.*||"
    IDS_CAPTION_SEND_BUTTON "&Send"
    IDS_DISCONNECT_CLIENT   "disconnect client"
    IDS_INVALID_PORT_NUMBER2 
                            "Invalid port number.\nValid range is between %d and %d."
    IDS_COM_SERVER_CONNECTED "Server started and online on port %d!"
    IDS_COM_SERVER_DISCONNECTED "Server shutdown and offline!"
END

【MFC】 多国语言设置

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/wowocpp/article/details/121797336