Hi friends...

I have a frame with a panel which contains a static bitmap. On resizing or expansion of frame, I want the bit map to be at the centre position with refernece to the frame always irrespective of the size of the frame.

Please help!!!

Regards,
Dinil

Recommended Answers

All 4 Replies

I think you might we able to use sizers to do this. There is a flag you can use when making a sizer called wx.ALIGN_CENTER and this will keep it in the center no matter what.

Thanks for the replies.... I am trying them out... Will get back if I have some problems.

Regards,
Dinil

thanks for replies.its working....

thanks again.

Cheers!!!
Dinil

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.