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 » [solved] CtrlLib: PromptSaveDontSaveCancel
[solved] CtrlLib: PromptSaveDontSaveCancel [message #45301] Thu, 29 October 2015 09:54 Go to next message
cbpporter is currently offline  cbpporter
Messages: 1406
Registered: September 2007
Ultimate Contributor
I am using this for save confirmation:

int PromptSaveDontSaveCancel(const char *qtf) {
	BeepQuestion();
	return Prompt(callback(LaunchWebBrowser),
	              Ctrl::GetAppName(), CtrlImg::question(), qtf, true,
	              t_("&Save"), t_("&Don't Save"), t_("Cancel"), 0,
	              CtrlImg::save(), NoButtonImage(), Null);
}


I can't add it to my code base because the Prompt is not public. Could we either get this method added to headers and sources or have the Prompt made public?

Thanks!

[Updated on: Tue, 03 January 2017 11:45]

Report message to a moderator

Re: CtrlLib: PromptSaveDontSaveCancel [message #45317 is a reply to message #45301] Thu, 29 October 2015 18:45 Go to previous message
mirek is currently offline  mirek
Messages: 13996
Registered: November 2005
Ultimate Member
Did both... Thanks.
Previous Topic: [FIXED] OpenGL / GLDrawDemo crash on Linux Ubuntu
Next Topic: GLCtrl compiling problems
Goto Forum:
  


Current Time: Wed Jul 24 09:04:17 CEST 2024

Total time taken to generate the page: 0.02241 seconds