anuj.juthani 0 Newbie Poster

i am a beginner in visual c++ and using visual studio 2010, i have came across a scenario where i want a dialog screen to appear in a full screen mode like our youtube video screen. i was successful to make the dialog box appear on the full screen , but my problem is : -

i have a GroupBox Control on this dialogControl and whenever i maximize the dialog or get the dialog into full screen mode in either of the both cases the GROUPBOX control doesn't move to the center or any other position. Despite of the fact that i have changed the HORIZONTAL ALIGN property of the GroupBox control as CENTER

my friend suggested to use WM_WINDOWPOSCHANGED in the DECLARE_MESSAGE_MAP but i didnt get what he is trying to say as i am a begineer . kindly help me please !

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.