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 » U++ Library support » U++ Widgets - General questions or Mixed problems » Strange behaviour of my modal dialog
Re: Strange behaviour of my modal dialog [message #2826 is a reply to message #2825] Wed, 26 April 2006 20:31 Go to previous message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Wed, 26 April 2006 19:06

This indeed is not quite right. You should place

extern RoundData TD;

into header (declaration) and

RoundData TD;

into any .cpp file (definition). After fixing that, it started working.

Mirek

Very Happy .SetSize( MAX );

Thanks a lot!
I was becoming crazy. This stupid problem stopped me for an entire day (night included).
There is an explanation for this. After I read some notes about C++ that complained about the "extern" used in C, and after Aris complained too, Smile , for my extensive use of "spaghetti" I become a Taleban and I wanted to remove all the "extern" from my program.
Perhaps I've projected the application not in the best way if now I need it, so I've altered the beauty of the Aris' code.
I'll post soon the first part of the application where there are all the things I've learned so far.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropList cores on ClearList()
Next Topic: what is the situation with MDI and Dock widget in U++?
Goto Forum:
  


Current Time: Fri Jun 06 11:00:43 CEST 2025

Total time taken to generate the page: 0.04611 seconds