Nana - a C++ framework project The Programmer's Guide |
nana::gui::API::track_window_size Description Sets the minimum or maximum tracking size to the specified window. Prototype bool track_window_size(nana::gui::window wd, const nana::size& sz, bool true_fo_max); Parameters wd: A handle to the window to be set. sz: tracking size. true_for_max: indicates the minimum or maximum tracking size to set. If the parameter is true, the maximun tracking size is set. If the parameter is false, the minimum tracking size is set. Return Value If the function succeeds, it reutrns true. If the window is not exist, or minimun tracking size is greater than maximun tracking size, or maximum tracking size is less than minimum tracking size, it returns false. Remarks The maximum tracking size is the largest window size that can be produced by using the borders to size the window or using window_size(). The minimum tracking size is the smallest window size that can be produced by using the borders to size the window or using window_size(). See also None. Move to The Nana Programmer's Guide Application Programming Interface Overviews |