Hi Scuri
I agree, the documentation for SM_CXPADDEDBORDER is really bad. Do you
have visual studio 2012+windows 8 so that you can reproduce the problem
at your place? If you dont, I wait for a release with your attempt to
bugfix, and try it here on various window styles.
/Robert.P.
Antonio
Hi,
Thanks for the tip. This is what I did:
int padded_border = 0;
if (has_titlebar)
.
padded_border = GetSystemMetrics(SM_CXPADDEDBORDER);
*border = 0;
if (iupAttribGetBoolean(ih, "RESIZE"))
.
if (*border)
*border += padded_
Problem description: The code below below shows a
window as in the picture, when compiled with visual studio 2012
under windows 8.
void main() {
IupOpen(0,0);
Ihandle* dlg=IupDialog(
IupVbox(