SplitterGadget: Odd behaviour when resizing
Posted: Sat Mar 22, 2014 5:44 pm
Hi @ all,
I was looking for a possibility to have three gadgets combined by two splitter (http://www.purebasic.fr/english/viewtop ... 13&t=58809). Thanks to skywalk, I found the solution.
When I resize the window (I check for WM_EXITSIZEMOVE ) they get drawn just fine. When I MOVE the window (which will also fire WM_EXITSIZEMOVE) the get mixed up (drawn with different width and height). I can't figure out why, as it is the same procedure used to resize. If I have only one splitter active than moving the window won't mess up the resizing.
While browsing for an answer I found an old post (2007) saying it's best to resize the splitter gadgets and not the gadgets combined by them (http://www.purebasic.fr/english/viewtop ... ttergadget). I took that advice but it's still not working as it should.
Has someone encountered that problem too?
Thanx,
Fenix
I was looking for a possibility to have three gadgets combined by two splitter (http://www.purebasic.fr/english/viewtop ... 13&t=58809). Thanks to skywalk, I found the solution.
When I resize the window (I check for WM_EXITSIZEMOVE ) they get drawn just fine. When I MOVE the window (which will also fire WM_EXITSIZEMOVE) the get mixed up (drawn with different width and height). I can't figure out why, as it is the same procedure used to resize. If I have only one splitter active than moving the window won't mess up the resizing.
While browsing for an answer I found an old post (2007) saying it's best to resize the splitter gadgets and not the gadgets combined by them (http://www.purebasic.fr/english/viewtop ... ttergadget). I took that advice but it's still not working as it should.
Has someone encountered that problem too?
Thanx,
Fenix