visual c++ - Docking CFormView in SDI -


i have sdi app[mfc] 2 spitter divides view 3 views. have implemented cformview has clistctrl/ctreectrl in 3 views.

what want make control fit screen in application. ctrls doesn't fit screen , doesn't scale when spitter expaned or shriked. how acheive fit screen functionality ?

thanks

a cformview has static size , scrolls. isn't real solution you. don't use cformview.

you can divide each pane again splitter window hold tree ctrl , list ctrl. if don't need doc/view, create own cwnd contains clistctrl , ctreectrl , overwrite wm_size , resize 2 child controls in it.

using cview parent work too, again overwrite wm_size child controls fir complete area of view.

if use cwnd or cview parent class, think using isdialogmessage handle keyboard switching vk_tab between 2 windows...


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -