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 Scuri skrev 2013-11-18 18:21:

Hi,

Thanks for the tip. This is what I did:

intpadded_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
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to