Body's hormones have a direct impact on appetite, metabolism, and fat storage. No matter what you do, fluctuating estrogen, testosterone, and androgen levels will fight you all the way.
Many women find that the onset of menopause can bring a small to moderate weight gain with it. Try to maintain healthy eating habits, and remain (or become) as active as possible.
Actually gaining a little bit of weight would be beneficial for you when you're going through menopause. Gaining weight would naturally help produce estrogen. You could maintain a healthy weight through regular physical activity