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 #2476 is a reply to message #2472] Thu, 13 April 2006 21:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
kevinle10@gmail.com wrote on Thu, 13 April 2006 12:53

OK, Mirek, are you refering to create context menu (pops up in response to a right click) for the ArrayCtrl? If so, I do not see any right click event.

Could you please point out an example? If not, could you please prepare one? Thanks

ANother issue I'm hitting a road block with ArrayCtrl right now is how can I capture the delete row event. WHat I'm really after is as follow. I'd like to keep my OK button disabled until the state of the ArrayCtrl changes.

So this is what I have so far:

valuesCtrl.WhenStartEdit = THISBACK(OnModified);


void Dlg::OnModified() { ok.Enable(true); }


This works for insert, append and edit but not for delete. Any idea please? I'm almost done. Can't wait to post in the "App created with U++" section.


See ArrayCtrl::WhenBar<Bar&>.

Mirek
 
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 16:14:14 CEST 2024

Total time taken to generate the page: 0.02555 seconds