Hi, I'm using Eikon and Grisu's window centring code that centres a BMax graphics window (not BMax GUI, I don't want to use that). The only thing I've noticed is that the window appears a the default position for a fraction of a second before centring. The results in a quick little flicker sometimes and also the centred window can show part of the desktop (or IDE) in the corner for a fraction of second.
I'm creating the window with Graphics, and I need to crate it without showing it, centre it and then show it. Hmm, I wonder if this is posible with CreateGraphics ... I'm not sure it is though as the window won't have a handle yet that can be passed to Windows API calls will it? I need to test this I guess...
I'm creating the window with Graphics, and I need to crate it without showing it, centre it and then show it. Hmm, I wonder if this is posible with CreateGraphics ... I'm not sure it is though as the window won't have a handle yet that can be passed to Windows API calls will it? I need to test this I guess...