About position of AfxMessageBox OK button
-
Can I change the default position of OK button when calling AfxMessageBox() function, by default it is on center.
Thanks, Mushq
-
Can I change the default position of OK button when calling AfxMessageBox() function, by default it is on center.
Thanks, Mushq
I think the only way is to create your own Dialog and place your button anywhere you want. AfxMessageBox does not allow you to change the coordinates of buttons.
-
Can I change the default position of OK button when calling AfxMessageBox() function, by default it is on center.
Thanks, Mushq
I don't know if that's possible, but you could try to alter the source of these: 1) Eugene Pustovoyt's CPPMessageBox v1.0[^] 2) Sijin's Dissecting the MessageBox[^] 3) Hans Dietrich's XMessageBox[^] Regards, Mihai Moga