TWindow::GetId and SetId currently only access the TWindowAttr::Id in the window creation attributes (held in the Attr member structure), which does not reflect or affect the effective ID after window creation. This is unlike GetStyle and SetStyle. If called before window creation, they will access and modify, respectively, the Style member in Attr, but after creation they will use GetWindowLong and SetWindowLong with GWL_STYLE. GetId and SetId should work similarly, by calling GetWindowLong and SetWindowLong with GWL_ID after window creation.
Regarding documentation, note that GetStyle and SetStyle are currently in their own separate member function documentation group ("Dual mode accessors"), although style and ID are both part of the window creation attributes and should work the same and be grouped and documented together.
Feature Requests: #209
Wiki: OWLNext_Roadmap_and_Prereleases
Anonymous
This ticket has been implemented on the trunk [r6134], and the revision has been merged into Owlet [r6135].
Related
Commit: [r6134]
Commit: [r6135]