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 » Focus problem
Re: Focus problem [message #57827 is a reply to message #57826] Sun, 19 December 2021 16:16 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
The memory leak thing you encountered can be either take care of by your way of override Close() or by the suggested way of using smart pointer One. The latter is preferred.

Key is a virtual function, it can create an WhenKey event (just like I created the WhenSuspiciousKey event). If a WhenKey event is created, either by yourself or by the libary you are using, you can assign a per-instance callback to tailor the particular object's behaviour. The virtual function Key is per-class. And it's not assignable. It's constant.

Please read carefully my previous 3-4 replies. All I can tell are there.
 
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: How to output variable values with time stamp in windows application
Next Topic: Clang linker error: no such file or directory
Goto Forum:
  


Current Time: Sun Aug 24 06:59:38 CEST 2025

Total time taken to generate the page: 0.04912 seconds