Since it is apparently not possible to hack an exe to open 'hidden', and as I am trying to 'hide' my app's window on startup until I've made it borderless (I can already hide it via ShowWindow, but that results in an undesirable 'window flashes up then disappears' effect) I thought maybe I could make it open at an offscreen coordinate, apply the desired styles using SetWindowLongA, then move it into a visible position via SetWindowPos. I already know how to move a window after it's opened - what I would like to be able to do is have it open at coordinates specified by me so that users don't see it until I want them to.
All my compiled BlitzMax apps seem to open themselves at coords 29,3 on my system. Are these coordinates embedded in each program's exe - in which case is it possible to hack/change them - or do BlitzMax apps get their coordinates from somewhere else at runtime?
All my compiled BlitzMax apps seem to open themselves at coords 29,3 on my system. Are these coordinates embedded in each program's exe - in which case is it possible to hack/change them - or do BlitzMax apps get their coordinates from somewhere else at runtime?