#define OnPropertyEditCancel(name) \ DefineRegistryMethodP(PSI_PRELOAD_PRIORITY,PSI_ROOT_REGISTRY,PropertyEditCancelControl,WIDE("control"),name WIDE("/rtti"),WIDE("abort_property_page"),void,(PSI_CONTROL,PSI_CONTROL))
on cancel return void ( your_control, the sheet your resulted to get_property_page
static void OnPropertyEditCancel(name)( PSI_CONTROL control, PSI_CONTROL property_sheet ) { // delete custom property sheet if any. // undo any changes as appropriate }
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|