Fix issue for Alt+Tab doesn't show Notepad++ (Windows 7)
Issue is because of Tool window being used instead of normal window for these 2 dialogs- "Close All" and "Rename" Known issue already discussed on- https://stackoverflow.com/questions/3760571/showdialog-makes-app-window-disappear-from-windows-alt-tab-list Excerpt from https://docs.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles - WS_EX_TOOLWINDOW 0x00000080L The window is intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar. However, you can display the system menu by right-clicking or by typing ALT+SPACE. DS_MODALFRAME is added for "Close All" dialog, because after making it normal window, it started showing default empty windows file icon. Fix #6244, close #6252
This commit is contained in:
parent
c423543aae
commit
f05fedda76
@ -1034,8 +1034,8 @@ BEGIN
|
||||
END
|
||||
|
||||
IDD_DOSAVEORNOTBOX DIALOGEX 0, 0, 310, 80
|
||||
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
EXSTYLE WS_EX_WINDOWEDGE
|
||||
CAPTION "Save"
|
||||
FONT 8, TEXT("MS Shell Dlg"), 0, 0, 0x1
|
||||
BEGIN
|
||||
|
@ -255,7 +255,6 @@ END
|
||||
|
||||
IDD_STRING_DLG DIALOGEX 0, 0, 151, 52
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
EXSTYLE WS_EX_TOOLWINDOW
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||||
BEGIN
|
||||
LTEXT "STATIC :",IDC_STRING_STATIC,6,4,42,8,0,WS_EX_RIGHT
|
||||
|
Loading…
Reference in New Issue
Block a user