Resizing frame
-
Hello everybody, i got a strange problem. If i resize a frame (within a CFormView) all works great. Till i replace the View with another one (the frame keeps) All Size-Events are correctly send to the new active view. But if I size the frame fast, the view will (sometimes) not get the newest Size-Event. Then, a ugly mistake like this is provoked : http://img5.imageshack.us/my.php?image=fehleruu2.jpg[^] I tested this view already as a initial view (without changing the view into the frame ) in this case it works also without mistakes. Only if I replace the initial view with another one, then the second view resizes not correctly. Also i tested if the initial view is also resized (so that wrongly 2 views are sized) but i use a Hidden-Flag to step out the OnSize-Function (but the Size-Event is send anyway to it :( ) Big thanks for help :)
-
Hello everybody, i got a strange problem. If i resize a frame (within a CFormView) all works great. Till i replace the View with another one (the frame keeps) All Size-Events are correctly send to the new active view. But if I size the frame fast, the view will (sometimes) not get the newest Size-Event. Then, a ugly mistake like this is provoked : http://img5.imageshack.us/my.php?image=fehleruu2.jpg[^] I tested this view already as a initial view (without changing the view into the frame ) in this case it works also without mistakes. Only if I replace the initial view with another one, then the second view resizes not correctly. Also i tested if the initial view is also resized (so that wrongly 2 views are sized) but i use a Hidden-Flag to step out the OnSize-Function (but the Size-Event is send anyway to it :( ) Big thanks for help :)
How about handling WM_EXITSIZEMOVE[^] rather than/as well as WM_SIZE?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
How about handling WM_EXITSIZEMOVE[^] rather than/as well as WM_SIZE?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p