   Using MFC in Visual C++ .Net
  Hi all,I''m a bit new to MFC, and in general not that good with GUI programming in C++ (I was happy with my old skool VB ). I''m trying to write a trivial configuration utility for my game.All I want is 5-6 check boxes, couple of buttons, maybe a drop down list if I can stretch that far  nothing too complex I hope!I''ve been using the MFC wizards in VC7, and I''ve got a single dialog up, I''ve added some "MS Form 2.0" AcX controls, dragged them about a bit. Managed to add various events to them as well. All funky BUT...   I''m stuck with a few newbie questions.. any chance of some help?::1) Getting controls inside   other controls  Right, say I create a frame, or a property-page style tabbed control. How can I drop controls inside them (container-style)? Whatever I do, VC7 seems to stick them behind, or if I''m lucky sticks them on top but not container-style.2) Specifying exact sizes for components  Say I drag my controls around, how can I type in a top/left/height/width value? Sounds too simple to be a sticking point... but I can''t find anywhere in the program to type it in, seems I have to manually size things..?!?!cheers,Jack 
  i dont know if its the correct way to do it but by using ShowWindow() you can show diffrent controls for each taband for the size use MoveWindow()   [edited by - mike25025 on February 17, 2004 6:24:31 PM];  cheers for the hint,I think I can work it out programmatically... but I was hoping there was somewhere in the resource editor that allowed me to specify it to start with  strikes me as odd for a GUI editor not to let you do that!Jack ;  the resource editer doesnt let you do that ;quote:the resource editer doesnt let you do thatyou sure??surely I aint the only person to think its a little weird for an editor to allow you to drag controls around manually, but not have 4 boxes to "precision-place" them!?oh, is it the same reason for the container-controls thing?Jack ;  are you haveing troble aligning the controls? ;quote:are you haveing troble aligning the controls?sortof, I dont want the default ones - align to edges and so on.. I''d like to set a group of checkboxes to have a left=50px (for example). Currently when I drag them manually some are 50, some 48, some 51 etc... ie, close, but not quite  and it looks plain ugly.Jack ;  at the top of the dlg editer there is a ruler. click on it and drag the arrow to where u want it. then the controls will snap to the line when they are close ;quote:then the controls will snap to the linegenius  cheersnow, any chance (anyone!  ) regarding containers of controls?cheers,Jack ;  again i dont know if this is the best way to do it but create some windows and set their borders to none.then in OnInitDialog() create the windows.then use using ShowWindow()if thats not what your looking for i cant help you   [edited by - mike25025 on February 17, 2004 6:49:47 PM]