Beginner Windows C++ GUI question
-
Hi I have just started learning C++ GUI programming using Visual C++ (I'm using VC++ 6), and I have two questions regarding it: 1. Let's say I create a dilog-based project, and I put some things (buttons, lists, etc.). The problem is, when the user maximizes the the dialog, the button placements are not automatically modified, leaving a large part of the maximized window blank. Is there a way to automatically reposition ALL the things inside the dialog when the user maximizes the window (or resizes the window, for that matter)? Or do I need to manually recalculate the correct positions and sizes for all the things and apply them one by one? 2.Is there a tutorial/website that explains how I can create other GUIs beside the document/view or dialog-based GUIs that Visual C++ provides (e.g. skin-based GUI, GUI's with shape other than simple rectangle, etc.)? Thanks!
-
Hi I have just started learning C++ GUI programming using Visual C++ (I'm using VC++ 6), and I have two questions regarding it: 1. Let's say I create a dilog-based project, and I put some things (buttons, lists, etc.). The problem is, when the user maximizes the the dialog, the button placements are not automatically modified, leaving a large part of the maximized window blank. Is there a way to automatically reposition ALL the things inside the dialog when the user maximizes the window (or resizes the window, for that matter)? Or do I need to manually recalculate the correct positions and sizes for all the things and apply them one by one? 2.Is there a tutorial/website that explains how I can create other GUIs beside the document/view or dialog-based GUIs that Visual C++ provides (e.g. skin-based GUI, GUI's with shape other than simple rectangle, etc.)? Thanks!
Indrawati wrote: Is there a way to automatically reposition ALL the things inside the dialog when the user maximizes the window No. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Hi I have just started learning C++ GUI programming using Visual C++ (I'm using VC++ 6), and I have two questions regarding it: 1. Let's say I create a dilog-based project, and I put some things (buttons, lists, etc.). The problem is, when the user maximizes the the dialog, the button placements are not automatically modified, leaving a large part of the maximized window blank. Is there a way to automatically reposition ALL the things inside the dialog when the user maximizes the window (or resizes the window, for that matter)? Or do I need to manually recalculate the correct positions and sizes for all the things and apply them one by one? 2.Is there a tutorial/website that explains how I can create other GUIs beside the document/view or dialog-based GUIs that Visual C++ provides (e.g. skin-based GUI, GUI's with shape other than simple rectangle, etc.)? Thanks!