Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
February 22, 2021 [Issue 21655] win32 dialog app, main dialog box is not centered | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21655 Adam D. Ruppe <destructionator@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |destructionator@gmail.com --- Comment #1 from Adam D. Ruppe <destructionator@gmail.com> --- Do you have a resource file to go with the code btw? -- |
March 01, 2021 [Issue 21655] win32 dialog app, main dialog box is not centered | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21655 --- Comment #2 from Tao <top398@139.com> --- Of course I have. dlg.rc: #include <windows.h> #include <commctrl.h> #include <richedit.h> #include "resource.h" LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED IDD_DIALOG1 DIALOG 0, 0, 186, 95 STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_CAPTION | WS_VISIBLE | WS_POPUP | WS_SYSMENU CAPTION "Dialog" FONT 8, "Ms Shell Dlg" { PUSHBUTTON "Cancel", IDCANCEL, 129, 24, 50, 14, 0, WS_EX_LEFT DEFPUSHBUTTON "OK", IDOK, 129, 7, 50, 14, 0, WS_EX_LEFT } ---------- resource.h: #ifndef IDC_STATIC #define IDC_STATIC (-1) #endif #define IDD_DIALOG1 100 ---------- Resource is compiled with vc2010's rc.exe. dlg.d is compiled with "dmd dlg.d dlg.res" -- |
March 02, 2021 [Issue 21655] win32 dialog app, main dialog box is not centered | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21655 anonymous4 <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|phobos |tools --- Comment #3 from anonymous4 <dfj1esp02@sneakemail.com> --- Probably duplicate of issue 2035, try solution there. -- |
March 03, 2021 [Issue 21655] win32 dialog app, main dialog box is not centered | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21655 --- Comment #4 from Tao <top398@139.com> --- Thank you, it works: dmd dlg.d dlg.res -L/subsystem:windows:5 -- |
March 03, 2021 [Issue 21655] win32 dialog app, main dialog box is not centered | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21655 anonymous4 <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Optlink Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from anonymous4 <dfj1esp02@sneakemail.com> --- *** This issue has been marked as a duplicate of issue 2035 *** -- |
Copyright © 1999-2021 by the D Language Foundation