static void doneWithHwnds( void ) { SubclassGenericRemove( hwndTypeface ); SubclassGenericRemove( hwndStyle ); SubclassGenericRemove( hwndSize ); SubclassGenericRemove( hwndSizeEdit ); }
static void removeSubclasses( HWND hwnd ) { int i; for( i = SS_FIRST_CONTENT; i <= SS_LAST_CONTENT; i++ ) { SubclassGenericRemove( GetDlgItem( hwnd, i ) ); } for( i = SS_FIRST_ALIGNMENT; i <= SS_LAST_ALIGNMENT; i++ ) { SubclassGenericRemove( GetDlgItem( hwnd, i ) ); } for( i = SS_FIRST_COMMAND; i <= SS_LAST_COMMAND; i++ ) { SubclassGenericRemove( GetDlgItem( hwnd, i ) ); } }