Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Collapsable/Expandable Frame
A small bug. [message #40696 is a reply to message #12019] Wed, 04 September 2013 09:09 Go to previous message
rxantos is currently offline  rxantos
Messages: 73
Registered: October 2011
Member
When using the Flat Style, the control crashes if the frame is expanded. This happens because the borders are set to NULL on the flat style.

to fix it change in ExpandFrame::BorderSz()
int sz = (int)(uintptr_t)(handle.style->border[0][0]);


to
int sz = (handle.style->border[0]) ? (int)(uintptr_t)(handle.style->border[0][0]) : 0;

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Added single and double linked lists
Next Topic: AESStream MSCx66 error and fix
Goto Forum:
  


Current Time: Fri Nov 01 00:26:32 CET 2024

Total time taken to generate the page: 0.01768 seconds