Re: [Iup-users] Solution for the windows 8 sizing bug.

2013-11-18 Thread Antonio Scuri
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 +=

[Iup-users] Solution for the windows 8 sizing bug.

2013-11-13 Thread Robert Persson
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( IupHbox(