This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Lock screen while loading Docking Layout

When I load the Docking Layout from File, especially the first time the app runs, the panels spend a lot of time jumping around the screen before the load actually finishes. This is very disconcerting and not very professional looking. Is there a way to lock the screen / disable redrawing while the Load in ongoing? I have tried 
SendMessage(Handle,wm_SetRedraw,0,0); //Lock
DockManager.LoadFromFile(fname);
SendMessage(Handle,wm_SetRedraw,1,0); //Unlock
but that does not seem to have any effect.

Comments

  • Can you please send a demo app to our support email?..
  • Oops, My bad!
    Once I stripped everything out the panels did not jump around so then I spent 2 hours commenting out lines and blocks in the the FormCreate & FormShow and found a some toolbar setup code that was getting called multiple times. This seems to have been the culprit.

Sign In or Register to comment.