摘要:
DWORD GetLogicalDrives(VOID); MSDN Description: If the function succeeds, the return value is a bitmask representing the currently available disk drives. Bit position 0 (the least-significant bit) i... 阅读全文
摘要:
修改MFC窗口标题 MFC程序的默认的标题是“无标题-title”,其中title是应用程序的名称,我们应如何修改MFC窗口标题来符合自己的要求? MFC程序的文档类中定义了一个虚函数SetTitle,用于设置窗口标题的前半部分,如果只是要修改“无标题”部分,可以重载文档类的该函数。窗口标题的后半部分可以通过SetWindowText设置,也可以编辑字符串资源中的IDR_MAINFRAME... 阅读全文