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_border;
The SM_CXPADDEDBORDER documentation is very poor so I don't really know
when I need to add it.
Best,
Scuri
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users