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 » Implementation of ColorPopUp ctrl
Re: Implementation of ColorPopUp ctrl [message #27473 is a reply to message #27472] Mon, 19 July 2010 20:06 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
The easiest way is to have buttons on the dialog with specific names and use the correct version of CtrlLayout. For instance
Buttons 'ok' and 'cancel', call CtrlLayoutOKCancel
Just 'cancel' and CtrlLayoutCancel
Just 'exit' and CtrlLayoutExit

Or you can override TopWindow::Key and catch K_ESCAPE.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenGL example
Next Topic: Problem with OpenGL functionality: glPrimitiveRestartIndex
Goto Forum:
  


Current Time: Mon Jun 23 10:20:51 CEST 2025

Total time taken to generate the page: 0.03815 seconds