I limit cakes, chocolate and biscuits etc to treats when I am meeting up with friends. This helps because it fixes the idea of it being a 'treat' in my head, so not something I have daily and also means I don't have any in the house for me to eat when I get peckish.
The only problem I have found is that I sometimes get the shakes (usually just before I am due to have a bleed, though not always) and the only thing that seems to stop it is something sugary. But I have to eat a lot of biscuits for it to have any effect. Recently, I've been trying the nakd bars - they are just dried fruit and nuts 'mushed' together. I find one of these stops the shakes very quickly and although I like the taste, it's not so yummy that I want to eat more than one (which I would do with biscuits or chocolate) Also, as it's just dried fruit and nuts, I'm hoping it will be more beneficial to me than a big slice of coffee cake would be!