Hello @ all.
I have the following problem:
I use a small code snippet to center a dialog within the parent window. (Within the zip in cbm_misc.zip) But this function works on a Intel Core2Duo 7200 Notebook (Dell Inspiron 6400), but it centers to the screen instead of the parent window on a AMD Athlon 64X2 6000.
Both working with Windows XP Pro SP2, all patches and the same PellesC.
Can someone understand this error?
Greetings from Berlin,
Christian
I dont see anything obvious in the code, and it works here. Maybe check the return value from each call, to see if the call is failing or producing a "strange" value, and then trace from there...
How this example works in those machines ?
Thanks to both of you!
While I was testing your app, timovjl, I found the answer:
This godd***** ATI Hydravision was active and the dialogs jumped where Hydravision wanted, not where I wanted.
So, for everyone with the same problem: Don't use Hydravision.