Titlebar

The Titlebar is a text line at the top of the display which contains an application's title, status, and, optionally, the current system date and time. It is the application's responsibility to properly format the title/status string, while LHAPI is responsible for updating the date and time to keep them current. Titlebar displays the title/status string left-justified and the date/time right-justified on the titlebar line. (If you choose to create a titlebar with a date/time, you must subclass all of your NULLEVENT messages on to Object, not filter them out. Object is the one responsible for calling the DateTime window with a NOTIFY, NOTIFY_UPDATE message during NULLEVENT processing.)

Window Structure Details

n int x,y,w,h: LHAPI automatically sets these values during the CREATE message processing to the entire extent of the titlebar, including any DateTime window which is automatically created by LHAPI.

Messages