import UIKit
class ExtendableAreaButton: UIButton {
var hitOffset = UIEdgeInsetsZero
override func pointInside(point: CGPoint, withEvent event: UIEvent?) -> Bool {
guard hitOffset != UIEdgeInsetsZero && enabled &a[......]
import UIKit
class ExtendableAreaButton: UIButton {
var hitOffset = UIEdgeInsetsZero
override func pointInside(point: CGPoint, withEvent event: UIEvent?) -> Bool {
guard hitOffset != UIEdgeInsetsZero && enabled &a[......]
gtk_widget_set_sensitive(GtkWidget* widget, TRUE/FALSE);[......]
BEGIN_MESSAGE_MAP(CLeftDlgBar, CDialogBar)
ON_UPDATE_COMMAND_UI(IDC_BUTTON1,OnUpdateButton1)
END_MESSAGE_MAP()
void CLeftDlgBar::OnUpdateButton1(CCmdUI* pCmdUI)
{
pCmdUI->Enable(TRUE);
//using pCmdUI->SetText you can set the button text t[......]