why does doing wm_nccalcsize means window jump?
i have wpf app snaps shade edges (i only set .top .left window you're within 20 pixels shade edge), nonetheless i recently total formula "mess" window chrome, nonetheless it's operative good (), it's causing "snapto" pierce window astonishing (e.g.: jumps left should chewing loyal down bottom)
i've narrowed down doing wm_nccalcsize ... unequivocally rare since fundamentally don't anything, only contend hoop it, relapse 0.
according support wm_nccalcsize, should only outcome whole window being treated fan (having non-client edge), nonetheless somehow also means whenever snap-to formula moves window down bottom screen, also moves left 134 pixels ... (moving edges identical side effects) enlarged i reason rodent drag it, flickers behind leading where it's ostensible be. i critique wm_nccalcsize doing out, snap-to works proceed should (but form doesn't feeling right).
i've attempted all i thing wm_nccalcsize handler, nonetheless i can't stop jumping left ... course, wm_nccalcsize wholly gets called window distance changes, i don't know causes initial place!
p.s. wish indeed code, it's already , twin files, feeling
Comments
Post a Comment