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 » Community » Newbie corner » THISBACK(function(parameter)) Error C2102
Re: THISBACK(function(parameter)) Error C2102 [message #37689 is a reply to message #37688] Fri, 02 November 2012 19:48 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi nejnio

Thisback take reference to the function, with parameter passed to the function as another parameters to the THISBACK# macro. So it should be called like this:
THISBACK(function1)
THISBACK1(function2,123)
THISBACK2(function3,123,"param")
...

I'm not even sure how it could even work for you with the one parameter function Smile Probably its return type was matching something that THISBACK accepts...

Have a look at the reference and example programs, perhaps also reading and trying out the tutorial and figure out how ts might help Wink I understand that some poeple (me included Smile ) prefer to just play with the toolkit and figure out how it works by themselfs, but U++ contains so many unusual concepts and has quite steep learning curve, so following the tutorial and reading the manuals can help (and save you some frustration Smile ).

Best regards,
Honza
 
Read Message
Read Message
Read Message
Previous Topic: TabDlg Remove 'Close' Button
Next Topic: TabDlg Change Default Background Window
Goto Forum:
  


Current Time: Sun Aug 24 14:27:38 CEST 2025

Total time taken to generate the page: 0.04755 seconds