GetDlgCtrlID for top-level window with menu bar - return value
问题 MSDN -> "GetDlgCtrlID function" -> Remarks: "... Although GetDlgCtrlID may return a value if hwndCtl is a handle to a top-level window, top-level windows cannot have identifiers and such a return value is never valid." It seems it is wrong information - "never valid". At least for Win2k...Win8 this return value is just kernel pointer to hmenu(bar). And my question is (primarily to MS insiders): why MSDN so inaccurate here? (Screenshot: http://files.rsdn.ru/42164/gwl(-1)_tagwnd.png) Upd