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 » Overwrite PromptOKCancel
Re: Overwrite PromptOKCancel [message #2456 is a reply to message #2450] Thu, 13 April 2006 13:45 Go to previous messageGo to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
Use the Button::Ok() to give a button a Ok button look (Cancel(), Exit(), Normal() are other method of Button you can use for giving your button different looks).

One solution to have all your OK-Cancel look the same is to design your own OK-Cancel dialog with the layout editor and use it across your code.

If you name your buttons "ok" and "cancel" (lower case) you can invoke CtrlLayoutOKCancel() to set the button look and ID.

You should take a look at the Layout example in the reference code.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dialog returned values
Next Topic: Events outside TopWindow
Goto Forum:
  


Current Time: Thu May 16 18:08:28 CEST 2024

Total time taken to generate the page: 0.01784 seconds