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 » Using InstallKeyHook
Re: Using InstallKeyHook [message #10379 is a reply to message #10378] Wed, 04 July 2007 20:18 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
This is very complicated approach for such simple task.

This is quite common situation. I usually solve that by adding Sync method that gets invoked on WhenAction of any widget that affects other widget. Usually, it is OK to setup every aspect there - it is not required to have special Sync for particular widget, just place all enable/disable logic into the single place (Sync) and get it invoked when user alters the widget (WhenAction).
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enter turns WithDropChoice(LineEdit) into chaos
Next Topic: Refresh(), Paint(Draw& w), or something else nearby?
Goto Forum:
  


Current Time: Fri Jul 18 03:39:03 CEST 2025

Total time taken to generate the page: 0.04699 seconds